Ability to set DNS


  • Just want to be able to set DNS on the DHCP server please. Every consumer router on the market has this capability.

    #dns
    #dhcp


  • @daniel-rodgers
    Set your internet "network type" to static and you'll be able to set your DNS.


  • @kevin-symes said in Ability to set DNS:

    our internet "network type" to static and you'll be able to set your DNS.

    That is on the WAN side, I need to set DNS on the LAN side via the DHCP server.
    (I run a internal DNS server 'pi-hole')


  • @daniel-rodgers The WAN side doesn't need DNS, routers deal in IP addresses, not unresolved DNS names. The DNS settings your provide here will pass to your LAN clients. You can then set your local DNS server to forward unknown queries to onward revolvers.


  • @tom-bell in this case it does need DNS as it checks for connectivity to Google ever millisecond.

    What is being asked is the ability to set the DNS settings within the DHCP server settings. That is the best scenario when using PiHole.

    Router IP: 192.168.1.1 DNS: Google
    PiHole IP: 192.168.1.2 DNS: 192.168.1.1
    Clients DNS: 192.168.1.2 (Only)

    This setup allows for PiHole to provide it's functions and to also utilize the routers lan naming. So I would still be and to ping mydesktop.amplifi.lan.

    The OP I'm sure understands he can set his PiHole IP as the DNS for the WAN of the Amplifi and turn off DNS cache but that is not the same. It still will add the routers IP to the DNS and it does not allow the PiHole to learn the local DNS.


  • @daniel-rodgers Currently you can try to achieve this in two steps:

    1. Enable "Bypass DNS cache" in Web UI
    2. Set specific DNS cache address in Internet configuration. If you have your own DNS caching server inside your LAN, you can specify that address. It should work.

    Let me know if it works for you.


  • @dmitrijs-ivanovs

    this works for the primary wifi ssid, but not effective to the guest ssid. any workarounds to set ip for guests? thanks.


  • This post is deleted!

  • @daniel-rodgers said in Ability to set DNS:

    Just want to be able to set DNS on the DHCP server please. Every consumer router on the market has this capability.

    Daniel never followed up, but I believe all the answers provided misunderstand his question.

    What I think Daniel is asking (and what I AM asking) is how to create "hostname.local" records.
    This is known as mDNS (multicast DNS, zeroconf, Bonjour, RFC 6762 etc). Read more: https://en.wikipedia.org/wiki/.local

    So a client with mDNS support, will announce itself on the LAN as, for examples, "macmini.local" or "raspberrypi.local". The multicast DNS says (my hostname=some LAN IP) and this changes whenever the device is given a new DHCP lease.
    "It Just Works".

    Amplifi have the ability to set static DHCP leases, and add in details for that fixed record.
    But Amplifi don't have a feature to designate that static record would have, say, a particular .local hostname.
    Such a feature would allow you to designate a .local hostname, resolving to the static lease IP.

    For example, I have a pair of Amcrest cameras. They don't support mDNS. I can set a static DHCP lease, but I still have to remember their fixed IP.

    So what routers support management of the ".local" zone? Linksys do. For an example how DNS Local Database works: https://www.linksys.com/us/support-article?articleNum=164492

    (TL;DR - I fully realize I could setup + manage a local nameserver, but that way is more work. I would prefer to manage this on AmpliFi, the same way Linksys does).


Log in to reply
 

Looks like your connection to AmpliFi was lost, please wait while we try to reconnect.