New user here. This has been answered in another thread, but I must be missing something.
I can add or delete local dns entries. But I do not see anyway to edit them. I have my setting set to Expert.
New user here. This has been answered in another thread, but I must be missing something.
I can add or delete local dns entries. But I do not see anyway to edit them. I have my setting set to Expert.
That's correct.
The Local DNS Settings UI does not allow you to change existing DNS records.
You may consider to edit the respective dns.hosts
section in /etc/pihole/pihole.toml
, or you could set that section via CLI, e.g.
sudo pihole-FTL --config dns.hosts '[ "192.168.0.21 laptop.lan","192.168.0.22 tablet.lan"]'
On a side note, your screenshot shows Test.local
as a domain.
You should note that .local
is reserved for mDNS protocol usage, and should not be used with plain DNS.
If your router is actually using .local
, you should switch its local/search domain to one of the TLDs reserved for home network usage, like .internal
, .lan
or .home.arpa
.
You also can easily do that via Web Interface.
If you need to edit just one entry, just delete the entry and include it again using the new values.
If you need to edit many entries at a time, you can use the Settings > All settings page. Find the dns.hosts
option and edit them:
Thank you. Hmm. On the .local I 'learned' to do that from a Youtube video. LOL. I'll fix that.
" If your router is actually using .local
, you should switch its local/search domain to one of the TLDs reserved for home network usage, like .internal
, .lan
or .home.arpa
.
When I try internal or lan, it just brings up a google search. Using local it goes right to the address of the host. IE. Router.local or Unraid.local brings up their webpage.
Yes, that's because your router still is configured to distribute .local
as the local search domain.
My recommendation is to reconfigure your router to instead use one of the TLDs.
My router is apparently behind the times. Netgear R6400. It does not have any settings related to TLDs and I googled it and I didn't get any hits.
Been slowly researching a new router. Just not sure what I should replace this one with yet.
If that would be your only reason for pondering to replace your router, and if using .local
doesn't cause issues for you, I'd probably stick with it.
Would you use lots of Apple equipment in your network?
You're more likely to run into issues of you'd operate devices that actually make extensive use of mDNS. Apple and Linux may do so, but Windows only began adding native mDNS with 64bit varieties of Win10.
You may be able to change the domain.
Unhelpfully, it's not set under LAN or DHCP or anything like that but it's in the "Internet" section (under advanced).
If there is a value there other than "local", then it is probably required by your ISP and is best left alone (but this is uncommon).
( http://www.downloads.netgear.com/files/GDC/R6400/R6400_UM_07Aug2015.pdf )