Dns-relay works for resolving 1 server name, not the other



  • Hi
    I have 2 servers, using DHCP to acquire their IP.
    brooklyn: 10.17.10.30 and fiinas: 10.17.10.34

    From my laptop, I can ping the nas using its name.

    C:\Users\Alex>ping fiinas
    Pinging fiinas [10.17.10.34] with 32 bytes of data:
    Reply from 10.17.10.34: bytes=32 time<1ms TTL=64
    Reply from 10.17.10.34: bytes=32 time<1ms TTL=64
    

    But I can't resolve name on the second one:

    C:\Users\Alex>ping brooklyn
    Ping request could not find host brooklyn. Please check the name and try again.
    

    both are using DHCP but if I check on pfSense DHCP lease status, fiinas is offline while brooklyn is online:

    10.17.10.30  	00:0c:06:09:f3:eb  	brooklyn  	n/a   	n/a   	online  	static 
    10.17.10.34  	00:08:96:0d:09:13  	FIINAS  	n/a   	n/a   	offline  	static 
    

    PS: I can ping the ip address directly of brooklyn though

    C:\Users\Alex>ping 10.17.10.30
    Pinging 10.17.10.30 with 32 bytes of data:
    Reply from 10.17.10.30: bytes=32 time=1ms TTL=64
    Reply from 10.17.10.30: bytes=32 time<1ms TTL=64
    

    Do you have any idea why the DNS-relay doesn't work for brooklyn ?

    Thanks



  • Also, in the Diagnostics: DNS Lookup page, I have these results:

    Hostname or IP : fiinas	
    	= 10.17.10.34
    Create alias out of these entries. 
    
    Hostname or IP 	: brooklyn
    	= 10.17.10.30
    Create alias out of these entries. 
    
    

    I clicked on create an alias for both, and got this:
    fiinas: an alias already exist
    brooklyn: Alias created with name brooklyn

    but it did not change resolve issue.

    I then checked in /etc/hosts and see that brooklyn in in lowercase, while fiinas is in uppercase.
    10.17.10.30 brooklyn.fii brooklyn
    10.17.10.34 FIINAS.fii FIINAS

    I changed it to uper case, but did not help…

    I don't understand why it works for one, and not the other... (during my tests I regularly renew my laptop dhcp lease, and the server ones too, to refresh settings)


  • Rebel Alliance Developer Netgate

    The client you're pinging/resolving from - is it actually using pfSense as its DNS server?

    If it resolves from Diag > DNS, then it would from clients using pfSense as their DNS server. If it's using some other DNS server, it may be finding fiinas by NBNS and not DNS.


Log in to reply