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

Re: smail confusion



James A. Robinson writes ("Re: smail confusion "):
> Very odd output.  It seems to really be asking for the fqdn like it is
> supposed to... perhaps there is a bug in my DNS setup -- but nslookup
> resolves the short hostnames without any problem.  I've appended a uu
> of the tests for:

nslookup is using a different nameserver, I think.  The one your Smail
is using, 198.112.200.8, is giving me bogus answers, whereas the real
nameservers for the domain (the ones listed in its NS records) appear
to be OK (I haven't tried each one).

Check your resolv.conf.

Enclosed are some session transcripts.

Ian.

-chiark:~> host -t mx -v plato.simons-rock.edu.
Query about plato.simons-rock.edu. for record types MX
Trying plato.simons-rock.edu ...
Query done, 1 answer, status: no error
The following answer is not authoritative:
plato.simons-rock.edu   85875   IN      MX      10 plato.simons-rock.edu
Authoritative nameservers:
SIMONS-ROCK.edu         172275  IN      NS      NIC.NEAR.NET
SIMONS-ROCK.edu         172275  IN      NS      BU.edu
SIMONS-ROCK.edu         172275  IN      NS      NOC.CERF.NET
Additional information:
plato.simons-rock.edu   81555   IN      A       198.112.200.2
NIC.NEAR.NET            480300  IN      A       192.52.71.4
BU.edu                  492465  IN      A       128.197.27.7
NOC.CERF.NET            473188  IN      A       192.153.156.22
-chiark:~> host -t mx -v plato.simons-rock.edu. 198.112.200.8
Server: 198.112.200.8

Query about plato.simons-rock.edu. for record types MX
Trying plato.simons-rock.edu ...
Nameserver 198.112.200.8 not responding
plato.simons-rock.edu MX record not found at 198.112.200.8, try again
-chiark:~> host -t mx -v plato.simons-rock.edu. 198.112.200.8
Server: 198.112.200.8

Query about plato.simons-rock.edu. for record types MX
Trying plato.simons-rock.edu ...
Query failed, 0 answers, authoritative status: no error
plato.simons-rock.edu has no MX record at 198.112.200.8 (Authoritative answer)
-chiark:~>

>From nslookup on chiark:

> set srchlist=/
> set all
Default Server:  [198.112.200.8]
Address:  198.112.200.8

Set options:
  debug           defname         search          recurse
  d2              novc            noignoretc      port=53
  querytype=MX    class=IN        timeout=5       retry=4
  root=ns.internic.net.
  domain=
  srchlist=

> 

> lserver 198.112.200.8
;; res_mkquery(0, 8.200.112.198.in-addr.arpa, 1, 12)
------------
SendRequest(), len 44
    HEADER:
        opcode = QUERY, id = 4863, rcode = NOERROR
        header flags:  query, want recursion
        questions = 1,  answers = 0,  authority records = 0,  additional = 0

    QUESTIONS:
        8.200.112.198.in-addr.arpa, type = PTR, class = IN

------------
------------
Got answer (139 bytes):
    HEADER:
        opcode = QUERY, id = 4863, rcode = NXDOMAIN
        header flags:  response, auth. answer, want recursion, recursion avail.
        questions = 1,  answers = 0,  authority records = 1,  additional = 0

    QUESTIONS:
        8.200.112.198.in-addr.arpa, type = PTR, class = IN
    AUTHORITY RECORDS:
    ->  200.112.198.IN-ADDR.ARPA
        type = SOA, class = IN, dlen = 59
        ttl = 86400 (1 day)
        origin = nic.near.net
        mail addr = dns-admin.bbnplanet.com
        serial = 950916000
        refresh = 3600 (1 hour)
        retry   = 900 (15 mins)
        expire  = 864000 (10 days)
        minimum ttl = 86400 (1 day)

------------
Default Server:  [198.112.200.8]
Address:  198.112.200.8

> plato.simons-rock.edu
Server:  [198.112.200.8]
Address:  198.112.200.8

;; res_mkquery(0, plato.simons-rock.edu., 1, 15)
------------
SendRequest(), len 39
    HEADER:
        opcode = QUERY, id = 4864, rcode = NOERROR
        header flags:  query, want recursion
        questions = 1,  answers = 0,  authority records = 0,  additional = 0

    QUESTIONS:
        plato.simons-rock.edu, type = MX, class = IN

------------
timeout (0 secs)
------------
Got answer (39 bytes):
    HEADER:
        opcode = QUERY, id = 4864, rcode = NOERROR
        header flags:  response, auth. answer, want recursion, recursion avail.
        questions = 1,  answers = 0,  authority records = 0,  additional = 0

    QUESTIONS:
        plato.simons-rock.edu, type = MX, class = IN

------------
;; res_mkquery(0, plato.simons-rock.edu, 1, 15)
------------
SendRequest(), len 39
    HEADER:
        opcode = QUERY, id = 4865, rcode = NOERROR
        header flags:  query, want recursion
        questions = 1,  answers = 0,  authority records = 0,  additional = 0

    QUESTIONS:
        plato.simons-rock.edu, type = MX, class = IN

------------
------------
Got answer (39 bytes):
    HEADER:
        opcode = QUERY, id = 4865, rcode = NOERROR
        header flags:  response, auth. answer, want recursion, recursion avail.
        questions = 1,  answers = 0,  authority records = 0,  additional = 0

    QUESTIONS:
        plato.simons-rock.edu, type = MX, class = IN

------------
*** No mail exchanger (MX) records available for plato.simons-rock.edu
> 


Reply to: