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

Re: [cobalt-users] Time to live



| 
| Gary, I don't have an /etc/records file on my RaQ3, which is the only
| RaQ I have at the moment.
| 
| While I do DNS by hand, I don't remember deleting the records file, but
| nevertheless, I don't have one <frown>.
| 
| Can you send me a sample entry?
| 
| Thanks.
| 
| Jeff
|

The file is actually /etc/named/records, and the format is data
dependent.  Probably the easiest explanation is an example:

;for A and PTR records
; a|ptr [host] <domain> <ipaddr> <mask>
a www domain.com 192.168.1.1 16
ptr www domain.com 192.168.1.1 16
a - domain.com 192.168.1.1 16

;for CNAME records
; cname <alias-host> <alias-domain> [target-host] <target-domain>
cname mail domain.com www domain.com

;for MX records
; mx [host] <domain> <priority> <mailserver>
mx - domain.com High mail.domain.com

;for SOA records
; soa - <domain|net> <ns1>:[ns2]:<email>:<refresh>:<retry>:<expire>:<ttl> -
soa - domain.com ns.domain.com::admin@xxxxxxxxxx:10800:3600:604800:86400 -
soa - 192.168.0.0/16 ns.domain.com::admin@xxxxxxxxxx:10800:3600:604800:86400 -

;for SUBNET authority delegation
; subnet - <net> <network>:<mask>:<ns1>:[ns2] -
subnet - 192.168.0.0/16 192.168.10.0:24:ns.domain2.com: -

;for SECONDARY name servers
; secondary - <net|domain> <nameserver-ip> [mask]
secondary - 192.168.10.0 192.168.10.1 24
secondary - domain2.com 192.168.10.1 -