this post was submitted on 12 Oct 2023
26 points (96.4% liked)

Selfhosted

40339 readers
884 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 1 year ago
MODERATORS
26
submitted 1 year ago* (last edited 1 year ago) by nexusband to c/selfhosted
 

Hi,

been running PiHole with my FritzBox as DHCP Server for a while now. Just got Fibre and the new router doesn't support "only" setting an upstream DNS (neither does it support setting a domain suffix/local domain). I've switched the DHCP off and now PiHole does DHCP as well.

The FritzBox and the new Router added the domain suffix to recognized hostnames automatically, so even if i set up a fixed IP-Address on some device or machine, i could always use the hostname.local.domain without having to set a reservation.

Can PiHole/AdGuard/Technitium even do this? Do they need some extra configuration? PiHole does recognize the Hostnames correctly for some devices, but most are missing: For example, my Proxmox host was reachable with "pve.domain.local", it isn't with PiHole, even though PiHole identified the hostname. My Homeassistant isn't recognized at all, even though the IP-Address is showing up in PiHole. The Domain under "Advanced DHCP Settings" is set up.

Am i misunderstanding something or did i configure something wrong?

Thanks!

you are viewing a single comment's thread
view the rest of the comments
[–] tordenflesk 3 points 1 year ago (1 children)

Turn on 'Conditional Forwarding'

[–] nexusband 1 points 1 year ago* (last edited 1 year ago) (1 children)

For what? Both DHCP and DNS are turned off on both routers 🤔 Tried turning it on, but that didn't change anything...

[–] tordenflesk 1 points 1 year ago
  1. Use a single router.

  2. Set Conditional Forwarding to point to that single router.