Hi, I have a vyos with a internal network 192.168.0.1/24
DNS forwading allowed the dns server 10.10.0.10
Outside this network I have a network with 10.10.0.1/24 with a DNS Server 10.10.0.10
10.10.0.0/24 on this network nslookup with reverse dns works fine and show me the PTR
inside the Vyos network dns forward works fine but not the reserve lookup for the PTR.
nslookup on windows says Non-existent domain
Any idea why the PTR is not working inside the vyos network?
Hi, @tomcat667
I have checked in my lab (VyOS 1.3.2 and VyOS 1.4-rolling-202303170317) DNS Forwarding (checked both Forward Lookup Zone and Reverse Lookup Zone) version is working.
@tomcat667 I think your configuration is OK
In my lab, I used Ubuntu 22.04 as the user host.
and it is working.
Please check configurations both in both side routers and the DNS server as well.
Hi, again @tomcat667. I used 2 routers. 1 was on the client side (DNS Forwarder) another was on the DNS server side. This is the configuration commands output:
R-01 configuration (DNS Forwarder)
set interfaces ethernet eth0 address ‘172.16.11.1/24’
set interfaces ethernet eth0 description ‘Link-to-WAN’
set interfaces ethernet eth1 address ‘192.168.0.1/24’
set interfaces ethernet eth1 description ‘Link-to-LAN’
set interfaces ethernet eth1 hw-id ‘0c:93:d0:e4:00:01’
set protocols static route 10.10.0.0/24 next-hop 172.16.11.2
set service dns forwarding allow-from ‘192.168.0.0/24’
set service dns forwarding cache-size ‘0’
set service dns forwarding listen-address ‘192.168.0.1’
set service dns forwarding name-server ‘10.10.0.10’
R-02 configuration (DNS Server)
set interfaces ethernet eth0 address ‘172.16.11.2/24’
set interfaces ethernet eth0 description ‘Link-to-WAN’
set interfaces ethernet eth1 address ‘10.10.0.1/24’
set interfaces ethernet eth1 description ‘Link-to-LAN’
set protocols static route 192.168.0.0/24 next-hop 172.16.11.1