How to set the Slave DNS Server ?
Kevin Darcy
kcd at daimlerchrysler.com
Wed Nov 13 20:32:04 UTC 2002
Kevin Chan wrote:
> Hi Kevin Darcy and all,
>
> Thanks Kevin.D reply my question so fast !
>
> 1. I would like to ask how I can add a "masters" clause to each of those,
> specifying the master's IP address on Slave DNS Server's /etc/named.conf?
Look at the ARM examples.
> 2. Also, before sync the setting to Slave DNS Server. Please help me to
> confirm the zone IP file [as below] which is get from Master DNS Server is
> correct or not (because I add the ns2 setting on it) ? (Do I need to add
> ns2 setting on these file or not ?)
>
> $TTL 86400
> @ IN SOA ns1.kevin.com. root.ns1.kevin.com. (
> 200211131 ; Serial
> 8H ; Refresh
> 2H ; Retry
> 4W ; Expire
> 1D) ; Minimum TTL
> NS ns1.kevin.com.
> NS ns2.kevin.com.
> ;
> ; Servers
> ;
> 57 PTR ns1.kevin.com.
> 58 PTR ns2.kevin.com.
> 59 PTR www.kevin.com.
> 60 PTR pop.kevin.com.
> 61 PTR smtp.kevin.com.
>
> 3. Also, before sync the setting to Slave DNS Server. Please help me to
> confirm the zone name file [as below] which is get from Master DNS Server is
> correct or not (because I add the ns2 setting on it) ? (Do I need to add
> ns2 setting on these file or not ?)
>
> $TTL 86400
> @ IN SOA ns1.kevin.com. root.ns1.kevin.com. (
> 200211131 ; Serial
> 8H ; Refresh
> 2H ; Retry
> 4W ; Expire
> 1D) ; Minimum
> NS ns1.kevin.com.
> IN MX 10 smtp.kevin.com.
> kevin.com. A xxx.xxx.xxx.57
> ns1 A xxx.xxx.xxx.57
> ns2 A xxx.xxx.xxx.58
> www A xxx.xxx.xxx.59
> pop A xxx.xxx.xxx.60
> smtp A xxx.xxx.xxx.61
Offhand, those look reasonable, except that you're supposed to have at least 2
nameservers for every zone.
- Kevin
More information about the bind-users
mailing list