fix(pihole): local DNS records for mercury.sol + jupiter.sol (dns.hosts)
mercury is the DHCP server (no lease of its own) so its name wasn't resolvable. Add explicit dns.hosts A records. VM-verified: both resolve, external unaffected.
This commit is contained in:
@@ -25,6 +25,13 @@
|
|||||||
dns = {
|
dns = {
|
||||||
upstreams = [ "127.0.0.1#5335" ]; # local unbound (recursive)
|
upstreams = [ "127.0.0.1#5335" ]; # local unbound (recursive)
|
||||||
domain = "sol"; # local domain -> jupiter.sol etc.
|
domain = "sol"; # local domain -> jupiter.sol etc.
|
||||||
|
# Local A records (/etc/hosts style). mercury is the DHCP server (no
|
||||||
|
# lease of its own), so its name must be declared here. jupiter is also
|
||||||
|
# pinned explicitly so it resolves regardless of lease state.
|
||||||
|
hosts = [
|
||||||
|
"10.0.0.10 mercury.sol mercury"
|
||||||
|
"10.0.0.20 jupiter.sol jupiter"
|
||||||
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
dhcp = {
|
dhcp = {
|
||||||
|
|||||||
Reference in New Issue
Block a user