F5F Stay Refreshed Power Users Networks PiholePi-Hole for custom domain names over LAN DNS

PiholePi-Hole for custom domain names over LAN DNS

PiholePi-Hole for custom domain names over LAN DNS

Pages (2): 1 2 Next
T
Thuthur
Member
191
10-24-2016, 01:36 AM
#1
Hey, I see you're trying to set up custom hostnames using Pi Hole for your LAN PCs and VMs. You have OpenWrt APs and a few servers, and you're wondering how to do this since Pi Hole works with DNS. You mentioned something like 192.16.0.11 pointing to pc.local, and you want a simple setup that’s easy to understand.

Here’s a quick breakdown:

- You need a way to translate IP addresses into hostnames.
- Pi Hole can help by managing DNS records.
- You can add your custom rules in `/etc/hosts` or configure DNS properly.
- For reliability, consider using a dedicated DNS server or service like Pi-hole itself for better performance.

If you want a straightforward fix, you could edit `/etc/hosts` to map the IPs to names, but be aware it can be tricky and slow. Alternatively, set up a simple DNS entry in Pi Hole that points your VMs to your local network. Let me know if you need step-by-step guidance!
T
Thuthur
10-24-2016, 01:36 AM #1

Hey, I see you're trying to set up custom hostnames using Pi Hole for your LAN PCs and VMs. You have OpenWrt APs and a few servers, and you're wondering how to do this since Pi Hole works with DNS. You mentioned something like 192.16.0.11 pointing to pc.local, and you want a simple setup that’s easy to understand.

Here’s a quick breakdown:

- You need a way to translate IP addresses into hostnames.
- Pi Hole can help by managing DNS records.
- You can add your custom rules in `/etc/hosts` or configure DNS properly.
- For reliability, consider using a dedicated DNS server or service like Pi-hole itself for better performance.

If you want a straightforward fix, you could edit `/etc/hosts` to map the IPs to names, but be aware it can be tricky and slow. Alternatively, set up a simple DNS entry in Pi Hole that points your VMs to your local network. Let me know if you need step-by-step guidance!

G
Gladiador70
Senior Member
698
10-24-2016, 09:56 AM
#2
Your device handles IP resolution independently of pinging. At the beginning of the ping sequence, it identifies the IP address, and thereafter it relies on that IP consistently—no further lookups for hostnames occur. To verify this, execute the tests simultaneously in different windows: ping pc.local -t ping 192.168.0.11 -t. You should observe identical packet loss results in both cases. From the pattern you notice, it likely points to either a network loop or an IP conflict involving 192.168.0.11.
G
Gladiador70
10-24-2016, 09:56 AM #2

Your device handles IP resolution independently of pinging. At the beginning of the ping sequence, it identifies the IP address, and thereafter it relies on that IP consistently—no further lookups for hostnames occur. To verify this, execute the tests simultaneously in different windows: ping pc.local -t ping 192.168.0.11 -t. You should observe identical packet loss results in both cases. From the pattern you notice, it likely points to either a network loop or an IP conflict involving 192.168.0.11.

A
AA_Esser
Member
181
10-26-2016, 07:17 AM
#3
No, the issue isn't the same. If pings stop, it's usually a DNS problem, not a DNS resolution failure.
A
AA_Esser
10-26-2016, 07:17 AM #3

No, the issue isn't the same. If pings stop, it's usually a DNS problem, not a DNS resolution failure.

M
MikeBenj
Member
209
11-03-2016, 08:08 AM
#4
appears to work when testing localhost or 192.168.0.11, but issues arise when pinging from other machines
M
MikeBenj
11-03-2016, 08:08 AM #4

appears to work when testing localhost or 192.168.0.11, but issues arise when pinging from other machines

I
ItsMeCamryn
Junior Member
39
11-08-2016, 09:08 AM
#5
I don’t have the exact details, but you could look into checking the network settings or using diagnostic tools to verify connectivity.
I
ItsMeCamryn
11-08-2016, 09:08 AM #5

I don’t have the exact details, but you could look into checking the network settings or using diagnostic tools to verify connectivity.

C
Cadariou
Posting Freak
835
11-09-2016, 01:20 AM
#6
It seems it's likely not DNS, possibly another issue on the network. Can you describe your network setup? How are connections made? Consider testing with different cables.
C
Cadariou
11-09-2016, 01:20 AM #6

It seems it's likely not DNS, possibly another issue on the network. Can you describe your network setup? How are connections made? Consider testing with different cables.

L
lukemon5
Member
87
11-10-2016, 07:48 AM
#7
Before the hole everything functioned properly.
L
lukemon5
11-10-2016, 07:48 AM #7

Before the hole everything functioned properly.

R
randomabby
Senior Member
476
11-10-2016, 08:51 AM
#8
Yes, after removing the pihole, you should be able to ping normally again.
R
randomabby
11-10-2016, 08:51 AM #8

Yes, after removing the pihole, you should be able to ping normally again.

R
Rubb_
Member
123
11-10-2016, 10:41 AM
#9
Really nothing.
R
Rubb_
11-10-2016, 10:41 AM #9

Really nothing.

H
husker53
Posting Freak
802
11-10-2016, 01:44 PM
#10
What kind of network configuration do you have? Have you tested various cables? Which switch is in use? Is it possible to send a ping from the switch without issues?
H
husker53
11-10-2016, 01:44 PM #10

What kind of network configuration do you have? Have you tested various cables? Which switch is in use? Is it possible to send a ping from the switch without issues?

Pages (2): 1 2 Next