INTELLIGENT WORK FORUMS FOR COMPUTER PROFESSIONALS
Come Join Us!
- Talk With Other Members
- Be Notified Of Responses
To Your Posts
- Keyword Search
- One-Click Access To Your
Favorite Forums
- Automated Signatures
On Your Posts
- Best Of All, It's Free!
*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.
Partner With Us!
"Best Of Breed" Forums Add Stickiness To Your Site

(Download This Button Today!)
Member Feedback
"...This was the ONLY place that I could find information that I could use to resolve the problem. So thanks once again to member TomSark and the SQL forum!..."
Geography
Where in the world do Tek-Tips members come from?
|
dns server
|
|
i am tring to set up a dns server on my local network, but every time i try to start the service i get the error that it can't find the localhost server... it should not be looking for a server with this name. i changed the name of the computer to linuxbox, and went through all the dns configuration files and changed the names as well. i also changed all the files in the /var/named directory to match. why is it giving me this error?
|
|
|
thedaver (IS/IT--Management) |
17 Nov 03 14:49 |
you MUST define a zone for localhost and ip 127.0.0.1 or nothing will work properly. google for any example zone file setups and you'll see this. This is irrespective of your hostname, 'localhost' is always present. Surfinbox.com Business Internet Services - National Dialup, DSL, T-1 and more. http://www.surfinbox.com/business/ |
|
so, i can't use the name of the box? i have to use localhost? |
|
|
thedaver (IS/IT--Management) |
17 Nov 03 15:13 |
You MUST define zone files for the localhost entity at 127.0.0.1 You MAY define zone files for any domains that you are rightfully entitled to run. eg. If you buy the rights to "example.com", you may publicly provide DNS hostname resolution for that domain. You MAY define zone files for any domains you would like to make up while you use those domains (and host names) in a private IP space. Every DNS HOWTO on the Internet first begins with detailing the the zone files for Root Nameserver hints, the localhost, and the 127.0.0-inaddr-arpa files. Without these you taking a fairly illegal and ugly shortcut that will not work to your satisfaction. see: http://www.tldp.org/HOWTO/DNS-HOWTO-3.htmlDon't fight the system. Make it work for you! Surfinbox.com Business Internet Services - National Dialup, DSL, T-1 and more. http://www.surfinbox.com/business/ |
|
i changed everything back to the way that it was and the way the examples say that it should be. i also restored the hosts file. now it is giving me "connection refused." what is this things problem? |
|
|
rburke (Programmer) |
18 Nov 03 16:28 |
Do you have a firewall on this box? you need to make sure the DNS service is started and running (ps aux) and also you need to open port 53:udp in your firewall for queries.
Burke |
|
|
marsd (IS/IT--Management) |
18 Nov 03 17:41 |
Old , but still usable. http://www.tldp.org/HOWTO/DNS-HOWTO.htmlThat's the way all sysadmins get started btw..reading the howtos and man pages, not asking questions that require you to be familiar with the stuff already. |
|
|
 |
|