DNS Help on FreeBSD 4.3
Mark_Andrews at isc.org
Mark_Andrews at isc.org
Wed Aug 29 03:46:12 UTC 2001
> I'm having trouble getting my dns to recognize, i'm not sure what i've done
> wrong. I've included my zone files and my named.conf. I can ping
> ns1.heatfc.com and ns2 but I cannot ping heatfc.com
>
Firstly leading white space is significate in a zone file.
" IN SOA ..." is interpreted differently to "IN SOA ...",
in the later case IN is seen as a name not the class.
Secondly you need to specify the name of the first record. Use
@ for the current origin (defaults to zone name). Subsequent
records can skip the name and it will be inherited from the
previous record.
e.g. "@ IN SOA ..."
Thirdly absolute domainnames in zone files need a final period
otherwise the current origin is appended.
e.g. " IN NS ns1.heatfc.com."
Fourthly check the log files when the nameserver starts. These
zone files would have caused errors to be reported.
Now with this all in mind go through each record and correct them
appropriately.
Mark
>
> ns1# less heatfc.com
> IN SOA ns1.heatfc.com mikej.satx.rr.com. (
> 2 ; Serial
> 86400 ; refresh
> 7200 ; retry
> 864000 ; expire
> 86400 ) ; minimum
>
>
>
>
> heatfc NS ns1.heatfc.com
> heatfc NS ns2.heatfc.com
> www.heatfc.com CNAME heatfc.com
>
> ns1 IN A 64.123.85.200
> spectrum IN A 64.123.85.35
> ns2 IN A 64.123.85.201
> www IN A 64.123.85.35
> heatfc.com IN A 64.123.85.35
>
> IN NS ns1.heatfc.com
> IN NS ns2.heatfc.com
>
> IN NS ns1
> IN NS ns2
>
> IN MX 50 mail.heatfc.com
> IN MX 100 mail.swbell.net
>
>
>
>
> (Named.Conf)
>
> zone "heatfc.com" {
> type master;
> file "heatfc.com";
>
> };
>
> zone "85.123.64.in-addr.arpa" {
> type master;
> file "heatfc-reverse";
>
> };
>
> zone "0.0.127.IN-ADDR.ARPA" {
> type master;
> file "localhost.rev";
> };
>
>
>
>
>
>
> ns1# less heatfc-reverse
> IN SOA ns1.heatfc.com. mikej.satx.rr.com. (
> 2001082101 ; Serial
> 86400 ; refresh
> 7200 ; retry
> 8640000 ; expire
> 86400 ) ; minimum
>
> IN NS ns1.heatfc.com
> IN NS ns2.heatfc.com
>
> 1 IN PTR ns1.heatfc.com.com
> 2 IN PTR ns2.heatfc.com.com
>
>
>
> 200.85.123.64.in-addr.arpa. in PTR ns1.heatfc.com
>
>
>
>
>
>
>
>
--
Mark Andrews, Internet Software Consortium
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742 INTERNET: Mark.Andrews at isc.org
More information about the bind-users
mailing list