DNS failures on regular basis

  • We are running two firewalls with 2 wans and 2 lans (temporary office and internet cafe) on Mon Apr 11 20:18:16 EDT 201 snapshot and are having DNS issues.

    We have two entries in the DNS fields on the General Setup menu with no gateway specified and no override for DHCP.

    At random intervals, and not apparently related to loading, the DNS resolution fails. This is both for DHCP clients using the firewall for DNS and from the firewall itself using the DNS lookup in the GUI. After a while the DNS will start responding again.

    There do not appear to be any entries in the system log that relate to this - ie no errors or warnings.

    Any ideas where I should be looking to diagnose this issue?

  • Sorry - forgot to mention its i386

  • Rebel Alliance Developer Netgate

    If you have multi-wan, you really do need to specify at least one DNS server for each gateway under System > General, unless they're dynamic and get their DNS servers over PPPoE/DHCP - still, specifying them manually is better.

    Two DNS servers for each WAN is best.

  • Have two DNS per WAN but am still getting issues.

    The DNS appears to disappear for 5 minutes then comes back. Very odd

  • Rebel Alliance Developer Netgate

    Are you maxing out your state table, perhaps?

    Seems unusual that just DNS would stop, and nothing else.

  • Don't think so.

    Have been clutching at straws and I think it is the DNS that our temporary internet supplier has given us.

    Changing the DNS to the OpenDNS servers seems to have given us a stable system for the last couple of hours.

    Will see what happens when the 100 users hit it in an hour when their program finishes and they all walk in with their iPhones :)

  • Rebel Alliance Developer Netgate

    You could use OpenDNS and Google DNS ( /, one from each on WAN/WAN2, might be even more stable.

  • I just ran into a similar issue.

    After reading that I should add DNS  i/p addresses to my 2-nd WAN ,  i was not able to access the webgui, or ping google.com from the console.

    We have multi-lan .

    I will restore an earlier config and reboot.

    here are parts of the config:

    # good:

  • so after restart I gould oing:

    Enter a host name or IP address: google.com
    PING google.com ( 56 data bytes
    64 bytes from icmp_seq=0 ttl=53 time=34.514 ms
    64 bytes from icmp_seq=1 ttl=53 time=33.338 ms
    64 bytes from icmp_seq=2 ttl=53 time=34.110 ms
    --- google.com ping statistics ---
    3 packets transmitted, 3 packets received, 0.0% packet loss
    round-trip min/avg/max/stddev = 33.338/33.987/34.514/0.488 ms
    Press ENTER to continue.

  • Rebel Alliance Developer Netgate

    You can't have the same IP on both WANs. Having conflicting routes probably freaked something out.

    This would work: WAN OPT1 WAN OPT1

  • OK, that fixed it for us. thanks.

Log in to reply