11
submitted 11 months ago* (last edited 11 months ago) by ioslife@lemmy.sdf.org to c/selfhosted@lemmy.world

I am super lost on what to do to get my different devices IP address/names listed.

Router: Unifi Dream Machine

Router has DNS set to AGH IP address and the router is automatically setting DNS for each device. It makes sense that the router IP address is the only one showing, but I'm pretty sure there is a way to get distinct client IPs to show.

Anyone know what I need to do?

all 11 comments
sorted by: hot top controversial new old
[-] CriticalMiss@lemmy.world 9 points 11 months ago

Hi!

I don’t know which router equipment you’re using so I can’t advise further, however, In your DHCP server settings you need to set the DNS server to your AdGuard DNS and then release/renew your leases on your client devices. (This can be a command like ipconfig /release on your Win machines, or reconnecting your wifi on mobile devices).

[-] ioslife@lemmy.sdf.org 3 points 11 months ago

Ahah! That worked. Thanks!

For some reason I thought that disconnecting and reconnecting to the network automatically renewed the DHCP lease.

Is there anyway to force all clients to renew their lease?

[-] CriticalMiss@lemmy.world 2 points 11 months ago

You’ll have to wait until they ping home and ask to renew the DHCP lease, on most home routers it’s once every 30 minutes or so.

[-] ioslife@lemmy.sdf.org 2 points 11 months ago

Awesome. Thanks CriticalMiss!

[-] MangoPenguin@lemmy.blahaj.zone 4 points 11 months ago

Basically you have:

Client > Router > Adguard

When you want:

Client > Adguard > Router

[-] stifle867@programming.dev 2 points 11 months ago

From one of your devices can you check what DNS server they are using? It sounds like the router is setting itself as the DNS server. This would mean all your devices would list your router's IP address and the DNS server. This is a different setting than the DNS server that your router is using.

If that's the case you tell your router to tell your devices to set the DNS server to the IP address of your AdGuard Home device. Alternatively, you can manually set the DNS server on your devices.

[-] StopSpazzing@lemmy.world 1 points 11 months ago

I also will note you should add some catch all's to block known dns ips like Google's, as there are many devices with hard coded DNS in them that will bypass your DNS. I use opnsense and block all dns requests except to my adguard home + Google DNS Ips.

[-] ioslife@lemmy.sdf.org 1 points 11 months ago

Wouldn't that effectively break the internet? Or are you saying there is a way in AGH to block DNS requests outside of my trusted DNS IPs?

[-] bladewdr@infosec.pub 1 points 11 months ago

You can set up firewall rules to redirect the traffic destined for public DNS servers to your internal DNS server.

Not sure how to construct that rule in the unifi firewall but it comes down to "any outbound traffic on port 53 that's not destined for the adguard server, redirect it."

[-] StopSpazzing@lemmy.world 1 points 11 months ago

Correct. But not only port 53 but also 853. I would also suggest disabling ipv6 if it's unused as I've had services bypass my DNS with hardcoded ipv6 and ipv4 IPs as I mentioned before. Unless you absolutely need it for some reason.

this post was submitted on 24 Oct 2023
11 points (76.2% liked)

Selfhosted

39251 readers
259 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