Internal DNS not working, setting DNS manually on host works. [SOLVED]



  • internal DNS not working, setting DNS manually on host works.

    Hi,

    I am rather new to networking but will do my best to describe my problem.

    I have a HW firewall running pfsense 2.4.2-RELEASE-p1. Wan is connected direct internet, and LAN to a switch distributing to 15 hosts on my home network. All hosts are effected.

    The problem is that some addresses cant be resolved. For example www.google.se

    If I with original settings try to ping google.se its not working.

    
    C:\Users\christer>ping www.google.se
    
    Pinging www.google.se [172.217.21.131] with 32 bytes of data:
    Request timed out.
    Request timed out.
    Request timed out.
    Request timed out.
    
    Ping statistics for 172.217.21.131:
        Packets: Sent = 4, Received = 0, Lost = 4 (100% loss),
    
    C:\Users\christer>nslookup www.google.se
    Server:  pfSense.localdomain
    Address:  192.168.1.1
    
    Non-authoritative answer:
    Name:    www.google.se
    Addresses:  2a00:1450:400f:809::2003
              172.217.21.131
    
    C:\Users\christer>
    
    

    If I in pfsense in System / General Setup set DNS Servers to 8.8.8.8, keep Gateway to none:

    Still not working:

    
    C:\Users\christer>ping www.google.se
    
    Pinging www.google.se [172.217.21.131] with 32 bytes of data:
    Request timed out.
    Request timed out.
    Request timed out.
    Request timed out.
    
    Ping statistics for 172.217.21.131:
        Packets: Sent = 4, Received = 0, Lost = 4 (100% loss),
    
    C:\Users\christer>nslookup www.google.se
    Server:  pfSense.localdomain
    Address:  192.168.1.1
    
    Non-authoritative answer:
    Name:    www.google.se
    Addresses:  2a00:1450:400f:809::2003
              172.217.21.131
    
    C:\Users\christer>
    
    

    But if I manually set DNS to 8.8.8.8 on my host, then it works.

    
    C:\Users\christer>ping www.google.se
    
    Pinging www.google.se [172.217.22.163] with 32 bytes of data:
    Reply from 172.217.22.163: bytes=32 time=4ms TTL=55
    Reply from 172.217.22.163: bytes=32 time=4ms TTL=55
    Reply from 172.217.22.163: bytes=32 time=5ms TTL=55
    Reply from 172.217.22.163: bytes=32 time=4ms TTL=55
    
    Ping statistics for 172.217.22.163:
        Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
    Approximate round trip times in milli-seconds:
        Minimum = 4ms, Maximum = 5ms, Average = 4ms
    
    C:\Users\christer>nslookup www.google.se
    Server:  google-public-dns-a.google.com
    Address:  8.8.8.8
    
    Non-authoritative answer:
    Name:    www.google.se
    Addresses:  2a00:1450:400f:808::2003
              172.217.20.35
    
    C:\Users\christer>
    
    

    But if I understand right it should not be necessary to set DNS manually, the host should get it automatically from my pfsense box over dhcp.

    Any suggestion on how I could troubleshoot this or ideas what could cause this problem are most appreciated!

    Best regards,
    Christer Eriksson

    [SOLVED]  Did a whole new installation of pfsense on my APU Alix box. Then just default setting and all works OK. No idea what caused previous installation to miss behave so badly.


Log in to reply