The FreeBSD Diary

The FreeBSD Diary (TM)

Providing practical examples since 1998

As an Amazon Associate I earn from qualifying purchases.
[ HOME | TOPICS | INDEX | WEB RESOURCES | BOOKS | CONTRIBUTE | SEARCH | FEEDBACK | FAQ | FORUMS ]
FreeBSD Support
 New Topic  |  Go to Top  |  Go to Topic  |  Search  |  Log In   Newer Topic  |  Older Topic 
 DNS with bind8 don't work carefully
Author: Loic Foucault 
Date:   20-10-04 18:41

I have to build freebsd servers with many services for 2 domain name and i don't know exactly how dns servers proceed for say hey myserver.mydomain.org is on that ip.... i search on many doc sites but i don't found how to do that so i had configured my bind service like i think it will work.

on my domain site, they want my "ns1.my domain.org" for doing work the domain name so i find it embarrasing because if i want a domain name it's beacause i don't have one.....

my zone configuration file:
$TTL 3600

mydomain.org. IN SOA dns.mydomain.org. admin.mydomain.org. (
2004101405 ; Serial
3600 ; Refresh
900 ; Retry
3600000 ; Expire
3600 ) ; Minimum
IN NS dns.mydomain.org.
dns IN A 192.168.123.52
dns.mydomain.org. IN A 192.168.123.52
www IN CNAME dns.mydomain.org.
ftp IN CNAME dns.mydomain.org.
and my named.conf file:
options {
directory "/etc/namedb";
pid-file "/var/run/named/pid";
recursion yes;
// forward only;
forwarders {
206.47.244.78;
207.236.176.26;
};
query-source address * port 53;
};
zone "." IN {
type hint;
file "named.root";
};
zone "0.0.127.IN-ADDR.ARPA" IN {
type master;
file "localhost.rev";
};
zone "mydomain.org" IN {
type master;
file "db.mydomain.org";
};
zone "123.168.192.IN-ADDR.ARPA" IN {
type master;
file "db.reverse";
};

Reply To This Message
 
 Re: DNS with bind8 don't work carefully
Author: Dan 
Date:   21-10-04 00:45

What are you trying to do? Please don't expect us to wade through your configuration files.

--
Webmaster

Reply To This Message
 
 Re: DNS with bind8 don't work carefully
Author: .daniel.schrock 
Date:   21-10-04 14:28

does this work internally but not externally?
Did you register your name servers?

One common misconception is that all you need to do is install bind, configure it and you can be an authoritative name server for you domains.

Unfortunately, you need to register your nameservers with network solutions in order for the root servers to pass the request for you.

in briefly looking at your config, that should work for internal hosts, but no one from the outside will know anything about your domains until the servers are registered (and the servers have public addresses or static nats to public addresses)

also... you will need 2 dns servers... sometimes isps are willing to provide secondary dns... otherwise you will need to find someone, or fake it with a second public address on that box (or pointing to that box with static nat)

Reply To This Message
 
 Re: DNS with bind8 don't work carefully
Author: Loic Foucault 
Date:   21-10-04 18:41

Webmaster:
really i'm sorry, I have some difficulty to explain in English what i would say.
never i expect that u made my configuration file.... all that i want is to learn about DNS to be able to make my servers accesible from the internet.

Daniel:
it work internally
how can i register my dns?
i tank you for your help that's very helpfull
and sorry for my English!!
have a nice day!

Reply To This Message
 
 Re: DNS with bind8 don't work carefully
Author: bigHairyBird 
Date:   22-10-04 02:32

Everyone,

Be nice to this guy, that is the way of the community. If I could help I would, but I think I am asking the same question.



Reply To This Message
 
 Re: DNS with bind8 don't work carefully
Author: .daniel.schrock 
Date:   22-10-04 16:14

Network solutions has made this a bit more difficult in recent years, so I can't find the exact method I used.

try this site and see if the instructions work.

http://www.hps.com/howtodns.html



Reply To This Message
 
 Re: DNS with bind8 don't work carefully
Author: fianna 
Date:   02-11-04 07:55

hey waden through your config i didnt see any rndc


IT IS FORBIDDEN
TO STEAL HOTEL
towels please. If
your are not a
person to do
such thing is
please not to
read notis.


hehe

Reply To This Message
 
 Re: DNS with bind8 don't work carefully
Author: .daniel.schrock 
Date:   02-11-04 15:11

rndc plays no part in this issue.
while it makes reloads easy, especially if you have multiple dns servers, it is not necessary to run.

I do recommend checking it out, but get the server working first.



Reply To This Message
 
 Re: DNS with bind8 don't work carefully
Author: fianna 
Date:   02-11-04 15:42

oh yeah... hehe that be 9...

Reply To This Message
 Forum List  |  Threaded View   Newer Topic  |  Older Topic 


 User Login
 User Name:
 Password:
 Remember my login:
   
 Forgot Your Password?
Enter your email address or user name below and a new password will be sent to the email address associated with your profile.
How to get the most out of the forum

phorum.org