-
Notifications
You must be signed in to change notification settings - Fork 249
Open
Description
Hello all, I have lokinet installed on my border firewall (linux) with multiple interfaces (one's IP is 192.168.151.1):
My DNS is a bind9 server on a linux machine (IP 192.168.151.2) with a zone foward to gateway's resolver for .loki tlds. This is the bind9 block:
zone "loki" {
type forward;
forward only;
forwarders { 192.168.151.1;};
};
zone "snode" {
type forward;
forward only;
forwarders { 192.168.151.1;};
};
If I query bind9's port I get this:
$ host q5uwxdhttwne7rpz8e87r5gr3esbwn13hq7unf9p1gaqemueiz5o.snode 192.168.151.2
;; communications error to 192.168.151.2#53: timed out
Using domain server:
Name: 192.168.151.2
Address: 192.168.151.2#53
Aliases:
Host q5uwxdhttwne7rpz8e87r5gr3esbwn13hq7unf9p1gaqemueiz5o.snode not found: 2(SERVFAIL)
For other domains it works, even if forwarded to a border DNS:
$ host www.google.it 192.168.151.2
Using domain server:
Name: 192.168.151.2
Address: 192.168.151.2#53
Aliases:
www.google.it has address 142.250.179.227
www.google.it has IPv6 address 2a00:1450:4009:81d::2003
On the other hand if I query directly the gateway's lokinet DNS it answers:
$ host q5uwxdhttwne7rpz8e87r5gr3esbwn13hq7unf9p1gaqemueiz5o.snode 192.168.151.1
Using domain server:
Name: 192.168.151.1
Address: 192.168.151.1#53
Aliases:
q5uwxdhttwne7rpz8e87r5gr3esbwn13hq7unf9p1gaqemueiz5o.snode has address 172.16.0.2
q5uwxdhttwne7rpz8e87r5gr3esbwn13hq7unf9p1gaqemueiz5o.snode name server localhost.loki.
q5uwxdhttwne7rpz8e87r5gr3esbwn13hq7unf9p1gaqemueiz5o.snode mail is handled by 1 q5uwxdhttwne7rpz8e87r5gr3esbwn13hq7unf9p1gaqemueiz5o.snode
How can I make Lokinet's bundled DNS answer even to forwarded queries by another DNS server (in this case bind9)?
Metadata
Metadata
Assignees
Labels
No labels