Reverse dns resolution of WAN ip



  • Why does the dns forwarder return "hostname.localdomain" for reverse dns of the WAN ip address? Wouldn't it make more sense to leave the resolution to the ISP dns server (or whatever is configured at general setup)?

    This is what dig returns on my system when I query the dns forwarder listening at the LAN interface (joesgarage being my local domain, xxx blanks the last number of my IP)

    ;; ANSWER SECTION:
    xxx.217.223.80.in-addr.arpa. 1  IN      PTR    pfsense.joesgarage.

    Asking the ISP dns forwarder returns:

    ;; ANSWER SECTION:
    xxx.217.223.80.in-addr.arpa. 86400 IN  PTR    dsl-hkibrasgw2-fed9df00-xxx.dhcp.inet.fi.

    This is on "2.0-BETA1 built on Wed Mar 31 01:56:32 EDT 2010",  I don't have a 1.2.x system to test if the same happens on 1.2.x.



  • Ok, it turns out that WAN interface update script(s) add this entry to /etc/hosts:

    80.223.217.xxx pfsense.joesgarage pfsense

    I think this should be optional at least because now there is no way to override the reverse dns resolution of
    the WAN ip because its in /etc/hosts and dnsmasq seems to prefer /etc/hosts over command line exceptions.



  • http://redmine.pfsense.org/issues/show/567

    Please post anything 2.0 related in the 2.0 board, we can't watch all the others as closely so issues on other boards can be overlooked.


Log in to reply