[CLUE-Tech] host -l and subdomains, reverse DNS

Keith Christian keithchristian at yahoo.com
Thu Aug 7 12:34:33 MDT 2003


Hi Folks,

I have a couple of DNS questions.

After configuring DNS on a small 2 station 'network' everything seems to be
working except for two things.

1. "host -l keithchristan.net" finds the primary domain and all the subdomains
with no problem:

10:40:50 /var/named>host -l keithchristian.net
    keithchristian.net SOA ns.keithchristian.net.
hostmaster.keithchristian.net. 200308071 10800 900 604800 86400
    keithchristian.net name server ns.keithchristian.net.
    keithchristian.net mail is handled by 10 mail.keithchristian.net.
    keithchristian.net mail is handled by 20 mail2.keithchristian.net.
    keithchristian.net mail is handled by 30 mail3.keithchristian.net.
    keithchristian.net mail is handled by 40 mail4.keithchristian.net.
    alpha.keithchristian.net has address 192.168.1.153
    bravo.keithchristian.net has address 192.168.1.153
    charlie.keithchristian.net has address 192.168.1.153
    delta.keithchristian.net has address 192.168.1.153
    ftp.keithchristian.net is an alias for www.keithchristian.net.
    localhost.keithchristian.net has address 127.0.0.1
    news.keithchristian.net is an alias for www.keithchristian.net.
    ns.keithchristian.net has address 127.0.0.1
    www.keithchristian.net has address 192.168.1.153
    keithchristian.net SOA ns.keithchristian.net.
hostmaster.keithchristian.net. 200308071 10800 900 604800 86400

.....Why can't "host -l" find a subdomain, say, "www.keithchristian.net?"  I
tried DIG and it finds them.

10:40:56 /var/named>host -l www.keithchristian.net

    Host www.keithchristian.net not found: 9(NOTAUTH)
    
    ; Transfer failed.



2. After configuring the "reverse zone" I expect to be able to get the
hostname for an IP address using "host -l" like so:

10:41:01 /var/named>host -l 192.168.1.153

    Host 153.1.168.192.in-addr.arpa not found: 3(NXDOMAIN)


The /var/log/messages file doesn't indicate any problems (at least
superficially) with the configuration.


====Keith


__________________________________
Do you Yahoo!?
Yahoo! Calendar - Free online calendar with sync to Outlook(TM).
http://calendar.yahoo.com



More information about the clue-tech mailing list