Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Red Hat Fedora BIND record copy 1

Status
Not open for further replies.

cthulhu4u

MIS
Feb 17, 2004
14
US
I am trying to upgrade a RH 7.2 DMZ'd Name and SendMail Server running BIND 9.2.1. I have built a few servers outside of the DMZ, Fedora v1 and 2 BIND 9.2.2, and cannot get resolution. I copied the following /etc/ files from the old to the new server into their respective locations: hosts, named.conf, mail, access, mailertable and relay-domains. I also copied the /var/named directory over. The named service is running, but when I try to resolve the records I copied over from the named directory from nslookup, get this:

> server 127.0.0.1
Default server: 127.0.0.1
Address: 127.0.0.1#53
> mydomain.com
;; connection timed out; no servers could be reached
>

Please help me understand the proper method for moving records between DNS servers of different OS.
 
Does your named.conf contain any restricting statements about which IPs it will respond to? This is a directive in the "options" section of named.conf.

Assuming that your permissions are correct on your conf files, you shouldn't have an issue moving Bind9 config files to another Bind9 server - both linux.

 
Thank you for the timely response. I checked out named.conf and found the dir setting, the setting nominating port 53 is commented out:

options {
directory "/var/named";
// query-source address * port 53;
};

It does have this set under controls:

controls {
inet 127.0.0.1 allow { localhost; } keys { rndckey; };
};

but I am not sure that this is the problem. I was trying to use local host to resolve.

I also reset permissions on all name files.

No change to the problem.

Any other suggestions?
 
Fedora FC2 uses chroot for BIND, you need to place your files in /var/named/chroot. This is where all your configuration files must be placed. You will notice that there is a dev, etc and var sub-directories. The configuration files must be place d in their appropriate directories.

You copuld also go to the to get more annswers
 

There are two different rpms for bind in FC2, bind and bind-chroot. It depends on which one you have installed.

"rpm -qa | grep bind" to find out.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top