Menu

#136 SEMU does not resolve A records properly

OpenEMM
closed-rejected
nobody
None
5
2015-02-03
2014-12-04
No

Looks like semu.py is not resolving A records properly.

It searches for "mail exchanger" or "internet address" in nslookup output.

For MX record it's fine :

nslookup -type=mx google.com

Non-authoritative answer:
google.com mail exchanger = 20 alt1.aspmx.l.google.com.

But for hosts without MX record NSLOOKUP output is different, it doesn't contain "internet address" :

nslookup -type=any swissinfo.org

Non-authoritative answer:
Name: swissinfo.org
Address: 146.159.229.100
swissinfo.org nameserver = ns1.srgssr.ch.
swissinfo.org nameserver = ns2.srgssr.ch.
swissinfo.org
origin = ns1.srgssr.ch
mail addr = hostmaster.srgssr.ch
serial = 2010020926
refresh = 10800
retry = 3600
expire = 604800
minimum = 86400

Discussion

  • Martin Aschoff

    Martin Aschoff - 2014-12-16

    We recommend to install module "pydns" because nslookup is a less-than-ideal solution and output is too dependent from its version.

     
  • Martin Aschoff

    Martin Aschoff - 2015-02-03
    • status: open --> closed-rejected
     

Log in to post a comment.