Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    DNS override will not resolve

    DHCP and DNS
    3
    4
    677
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • M
      manumit
      last edited by

      I'm currently using DNS resolver and am trying to set an override for a site and it will not resolve any configured domain override.

      As an example I try to configure cnn.com to resolve to 208.123.73.69. If I input it as a Domain Override and then switch to my client it will fail to resolve to anything when I do an nslookup. If I remove the domain override entry it resolves to the normal IPs with nslookup.

      If I look at /var/unbound/domainoverrides.conf when it is configured it lists:

      forward-zone:
              name: "cnn.com"
              forward-addr: 208.123.73.69

      I use cnn.com to 208.123.73.69 as an example but it happens with any domain real or made up I enter. What should I look at for troubleshooting?

      1 Reply Last reply Reply Quote 0
      • GertjanG
        Gertjan
        last edited by

        Hi,

        First check on your device (PC ? whatever) what DNS server is being used.
        Exemple, if it is a PC, what returns :
        ipconfig /all
        Use also
        nslookup
        and give it
        cnn.com
        to resolve.

        Because : it"s know that people try to setup a local DNS server/cache for pfSense and on the other hand they instruct the connected devices to use "8.8.8.8", thus bypassing pfSense all together.

        No "help me" PM's please. Use the forum, the community will thank you.
        Edit : and where are the logs ??

        1 Reply Last reply Reply Quote 0
        • johnpozJ
          johnpoz LAYER 8 Global Moderator
          last edited by

          "If I input it as a Domain Override"

          Domain override would be used to point a domain to a different NS..

          If you want cnn.com to resolve to a specific IP - then you would use a HOST override..

          Sure if you point a domain via domain override to some IP that can not resolve what your asking for, then sure it would fail.

          An intelligent man is sometimes forced to be drunk to spend time with his fools
          If you get confused: Listen to the Music Play
          Please don't Chat/PM me for help, unless mod related
          SG-4860 24.11 | Lab VMs 2.7.2, 24.11

          1 Reply Last reply Reply Quote 0
          • M
            manumit
            last edited by

            Domain override would be used to point a domain to a different NS..

            If you want cnn.com to resolve to a specific IP - then you would use a HOST override..

            That is fantastically helpful and my exact problem. Thank you.

            1 Reply Last reply Reply Quote 0
            • First post
              Last post
            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.