Multiple PTRs for one IP
Joseph S D Yao
jsdy at cospo.osis.gov
Fri Aug 27 18:53:53 UTC 1999
> I'm using a RedHat 6.0 (Kernel 2.2.5) system...
> My 0.168.192.in-addr.arpa. file contains several PTRs pointing to
> several hostnames.
> (e.g. 1 PTR mail.domain
> 1 PTR ftp.domain
> 1 PTR ns.domain
> 1 PTR www.domain
> etc...")
> My /etc/resolv.conf file has a nameserver 192.168.0.1 line.
> When starting nslookup, it starts with a default server of ftp.domain
> instead of ns.domain that I wanted... (They are the same IP :)
> When doing a ls -d 0.168.192.in-addr.arpa, somthing like this is
> displayed
>
> .....
> ......
> 1 1D IN PTR ftp.domain.
> 1D IN PTR www.domain.
> 1D IN PTR mail.domain.
> etc........
>
> the ftp.domain. is displayed first, which I guess would explain why the
> Default Server when using nslookup is ftp.domain.
>
> I know this is purely a cosmetic issue, but is there any way to change
> the order of the ls -d 0.168.192.in-addr.arpa. or somehow set the
> default server to use ns.domain instead of ftp.domain?
Comment out all but the one you WANT used. They serve no purpose other
than visual reminders, and comments do that just as well.
; Eh?
--
Joe Yao jsdy at cospo.osis.gov - Joseph S. D. Yao
COSPO/OSIS Computer Support EMT-B
-----------------------------------------------------------------------
This message is not an official statement of COSPO policies.
More information about the bind-users
mailing list