I need a DNS server in a test environment, so I am adding Bind to my notebook build.
I first did: yum install bind rebooted yum update rebooted
Now I see named as a service I can start.
But when I go to /var/named to edit the files (btw, all I want to do at this point is to fake out a FQDN expected by a piece of gear), none exist.
And I doubt that if I start named it would be properly chrooted (as it was on a server where I selected named as a service to install).
So pointers?
where do I go from here?
On 08/02/06, Robert Moskowitz rgm@htt-consult.com wrote:
I need a DNS server in a test environment, so I am adding Bind to my notebook build.
I first did: yum install bind rebooted yum update rebooted
Now I see named as a service I can start.
But when I go to /var/named to edit the files (btw, all I want to do at this point is to fake out a FQDN expected by a piece of gear), none exist.
And I doubt that if I start named it would be properly chrooted (as it was on a server where I selected named as a service to install).
So pointers?
where do I go from here?
# yum grouplist | grep -i dns # yum groupinfo "DNS Name Server" Setting up Group Process Setting up repositories archive-rhel4-dag 100% |=========================| 1.1 kB 00:00 base 100% |=========================| 1.1 kB 00:00 update 100% |=========================| 951 B 00:00 extras 100% |=========================| 1.1 kB 00:00
Group: DNS Name Server Required Groups: Base Mandatory Packages: bind Default Packages: caching-nameserver bind-chroot
# yum groupinstall "DNS Name Server"
Perhaps?
At 12:17 PM 2/8/2006, Will McDonald wrote:
On 08/02/06, Robert Moskowitz rgm@htt-consult.com wrote:
I need a DNS server in a test environment, so I am adding Bind to my notebook build.
I first did: yum install bind rebooted yum update rebooted
Now I see named as a service I can start.
But when I go to /var/named to edit the files (btw, all I want to do at this point is to fake out a FQDN expected by a piece of gear),
none exist.
And I doubt that if I start named it would be properly chrooted (as it was on a server where I selected named as a service to install).
So pointers?
where do I go from here?
# yum grouplist | grep -i dns # yum groupinfo "DNS Name Server" Setting up Group Process Setting up repositories archive-rhel4-dag 100% |=========================| 1.1 kB 00:00 base 100% |=========================| 1.1 kB 00:00 update 100% |=========================| 951 B 00:00 extras 100% |=========================| 1.1 kB 00:00
Group: DNS Name Server Required Groups: Base Mandatory Packages: bind Default Packages: caching-nameserver bind-chroot
# yum groupinstall "DNS Name Server"
Perhaps?
looks like a winner. Everything looks like it is there now.....
thanks!
Robert Moskowitz wrote: [snip]
Group: DNS Name Server Required Groups: Base Mandatory Packages: bind Default Packages: caching-nameserver bind-chroot
# yum groupinstall "DNS Name Server"
Perhaps?
looks like a winner. Everything looks like it is there now.....
Unless you are planning for your bind server to be _only_ a caching nameserver (i.e. it doesn't have any zones of it's own), don't install the caching-nameserver RPM. Doing so will cause your zone files to be replaced every time the caching-nameserver RPM is updated.