ls -d shows private name server IP! Why?
Mark.Andrews at nominum.com
Mark.Andrews at nominum.com
Sat Oct 21 21:57:54 UTC 2000
BIND 4 and BIND 8 store all the zone data in one database
internally. When a zone is transfered this database is
walked and the zone contents are transfered including the
NS records (and glue) from the child zone. The NS records
from the child zone indicate the bottom of zone of the
parent.
BIND 9 keeps each zone in a seperate database and only transfers
the contents of the database.
Mark
> My domain name is finally showing up on the internet. One problem. The
> Authorative DNS server is resolving my internal Name Server record with
> it's private IP address. Not the whole zone, just the name server
> record.
>
> ----------------------------------------------
> > server ns2.isp.com
> Default Server: ns2.isp.com
> Address: xxx.xxx.xx.xx
>
> > ls -d domain.com
> [ns2.isp.com]
> $ORIGIN domain.com.
> @ 1D IN SOA ns jkane (
> 200010211 ; serial
> 8H ; refresh
> 2H ; retry
> 1W ; expiry
> 1D ) ; minimum
>
> 1D IN NS ns
> 1D IN NS ns.isp.com.
> 1D IN NS ns2.isp.com.
> 1D IN TXT "My Home."
> 1D IN MX 10 mail
> 1D IN A xxx.xxx.xx.xxx
> mail 1D IN A xxx.xxx.xx.xxx
> localhost 1D IN A 127.0.0.1
> www 1D IN A xxx.xxx.xx.xxx
> ****** HERE IS THE PROBLEM!!!
> inside 1D IN NS ns.inside
> ns.inside 1D IN A 192.168.1.1
> ****** END OF PROBLEM.
> ns 1D IN TXT "The BIG box."
> 1D IN HINFO "Athelon 650" "SeSU Linux"
> 1D IN A xxx.xxx.xx.xxx
> @ 1D IN SOA ns jkane (
> 200010211 ; serial
> 8H ; refresh
> 2H ; retry
> 1W ; expiry
> 1D ) ; minimum
> --------------------------------------
>
> It is the ns.inside and inside records that bothers me. Thiose records
> should not be resolveable. I have "notify no" on the zone information
> in /etc/named.conf. I am notifying about domain.com though.
>
>
> --------------------------------------
> zone "domain.com" {
> notify yes;
> type master;
> file "pz/domain.com";
> # The 2 isp's name servers IP address here.
> allow-transfer { xxx.xxx.xx.xx; xxx.xxx.xx.xx; };
> allow-update { none; };
> };
>
> zone "inside.domain.com" {
> notify no;
> type master;
> file "pz/inside.domain.com";
> };
> -----------------------------------
>
> The inside.domain.com is not referenced anywhere in the zone file
> either!
>
> -----------------------------------
> $ORIGIN domain.com.
> @ IN SOA ns.domain.com. jkane.domain.com. (
> 200010211 ; todays date + todays serial #
> 8H ; refresh, seconds
> 2H ; retry, seconds
> 1W ; expire, seconds
> 1D ) ; minimum, seconds
> ;
> NS ns ; Inet Address of name server
> NS ns.isp.com.
> NS ns2.isp.com.
>
> MX 10 mail.domain.com. ; Primary Mail Exchanger
> TXT "My Home."
> localhost A 127.0.0.1
> ns A xxx.xxx.xx.xxx
> HINFO "Athelon 650" "SeSU Linux"
> TXT "The BIG box."
> www A xxx.xxx.xx.xxx
> mail A xxx.xxx.xx.xxx
> domain.com. A xxx.xxx.xx.xxx
> -----------------------------------
>
> What am I missing? How do I keep from forwarding the internal ns record
> information?
>
> --
> -Jeff
>
>
> Sent via Deja.com http://www.deja.com/
> Before you buy.
>
>
--
Mark Andrews, Nominum Inc.
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742 INTERNET: Mark.Andrews at nominum.com
More information about the bind-users
mailing list