DNS lookup failing



  • Hoping someone can help-

    My pfsense install was working and all of a sudden it stopped. I found out that the ISP that I use cycles their two DNS servers, however I have both listed in the general settings. Now I can ping the two server IPs just fine, but when I try to resolve a name it cant(through the webgui and a PC connected to the LAN). I can use the direct IPs and everything is fine, just can't resolve names???

    Can someone help?



  • Might want to just switch to better DNS servers and give up on your ISP's offerings. I use OpenDNS but there are a lot of other good free ones available too.



  • It did not seem to be the actual DNS service as I was able to do the following:

    1. Laptop wired connection to the LAN via the switch
    2. Laptop has static IP on the same segment as the LAN
    3. Able to open a shell and ping LAN interface successfully
    4. Able to ping WAN interface successfully
    5. Able to ping DNS server IP address successfully
    6. Able to ping google's IP address successfully ( i.e. ping 173.194.75.103 )
    7. Unable to ping google using name ( i.e. ping www.google.com )

    Likewise if I open a browser and manually enter 173.184.75.103 I'm taken to google. If I use 'www.google.com' I get the 'can't load page'



  • @jffrysrn222:

    It did not seem to be the actual DNS service as I was able to do the following:

    seems to contradict @jffrysrn222:

    Likewise if I open a browser and manually enter 173.184.75.103 I'm taken to google. If I use 'www.google.com' I get the 'can't load page'

    What is your PC using as its DNS? What do you want it to use? (DNS = Domain Name Service, the service that translates host names to IP addresses.)



  • at results do you get on your client computers if you try running nslookup or dig?

    Here 172.16.0.1 is my pfSense system and my updstream DNS servers are OpenDNS:

    stan@t310:~> nslookup google.com
    Server:         172.16.0.1
    Address:        172.16.0.1#53
    
    Non-authoritative answer:
    Name:   google.com
    Address: 74.125.224.225
    Name:   google.com
    Address: 74.125.224.232
    Name:   google.com
    Address: 74.125.224.229
    Name:   google.com
    Address: 74.125.224.228
    Name:   google.com
    Address: 74.125.224.226
    Name:   google.com
    Address: 74.125.224.224
    Name:   google.com
    Address: 74.125.224.230
    Name:   google.com
    Address: 74.125.224.227
    Name:   google.com
    Address: 74.125.224.233
    Name:   google.com
    Address: 74.125.224.238
    Name:   google.com
    Address: 74.125.224.231
    
    stan@t310:~> dig google.com
    
    ; <<>> DiG 9.9.2-P2 <<>> google.com
    ;; global options: +cmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 320
    ;; flags: qr rd ra ad; QUERY: 1, ANSWER: 11, AUTHORITY: 0, ADDITIONAL: 0
    
    ;; QUESTION SECTION:
    ;google.com.                    IN      A
    
    ;; ANSWER SECTION:
    google.com.             277     IN      A       74.125.224.225                                                                                                                  
    google.com.             277     IN      A       74.125.224.231                                                                                                                  
    google.com.             277     IN      A       74.125.224.238                                                                                                                  
    google.com.             277     IN      A       74.125.224.233                                                                                                                  
    google.com.             277     IN      A       74.125.224.227
    google.com.             277     IN      A       74.125.224.230
    google.com.             277     IN      A       74.125.224.224
    google.com.             277     IN      A       74.125.224.226
    google.com.             277     IN      A       74.125.224.228
    google.com.             277     IN      A       74.125.224.229
    google.com.             277     IN      A       74.125.224.232
    
    ;; Query time: 1 msec
    ;; SERVER: 172.16.0.1#53(172.16.0.1)
    ;; WHEN: Mon Jun  3 09:41:19 2013
    ;; MSG SIZE  rcvd: 204