Re: Slave DNS Server

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tuesday 28 September 2004 23:57, Dan Righter wrote:
> Does anyone know how to setup a slave DNS server on Fedora Core 2?  I've
> configured the master server and the slave, but I'm getting a permission
> denied error in the logs when the slave tries to update.  Below is an
> example of my configuration. 
> Master:
>  
> zone "example.com" {
> type slave;
> notify no;
> allow-query { any; };
> file "db.example";
> };
>  
> Slave:
>  
>
> zone "example.com" {
>
> type slave;
>
> masters { master-server-ip; };
>
> notify no;
>
> allow-query { any; };
>
> file "db.example";
>
> };

It should look like this:

/etc/resolve.conf
search your_domain.com
nameserver 192.168.2.your_ip

/etc/hosts
127.0.0.1 	localhost.localdomain		localhost

append your /etc/sysconfig/network-scripts/ifcfg-eth0 
with 
PEERDNS=no

The your /etc/named.conf
zone "example.com" {
type slave;
masters { 192.168.2.1; };
file "slave-forward_zone_file";
};

zone "2.168.192.IN-ADDR.ARPA" {
type slave;
masters  { 192.168.2.1; };
file "slave-reverse_zone_file";
};

restart named service
examin the slave-forward_zone_file zone and the slave-reverse_zone_file they 
should contain copies of the master from your master server.
Dont forget to replace the IPs for your own.
Cheers
;->

-- 
Chadley Wilson
Redhat Certified Technician 
Cert Number: 603004708291270
Pinnacle Micro
Manufacturers of Proline Computers
====================================
Exercise freedom, Use LINUX
=====================================


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux