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: 1  IN      PTR    pfsense.joesgarage.

    Asking the ISP dns forwarder returns:

    ;; ANSWER SECTION: 86400 IN  PTR

    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: 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.


    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