DNS Fordwarding problem

Hello,

I have configured DNS Fordwarding but it seems that it is not working, I do a dig from a computer on the same network with the configured DNS pointing to Vyos and it does not resolve the configured domain, the public DNS does work.

Anybody have any idea?

Configuration:

set service dns forwarding allow-from ‘192.168.6.0/24’
set service dns forwarding domain test.com server ‘XXX.XXX.XXX.XXX’
set service dns forwarding listen-address ‘192.168.6.1’
set service dns forwarding name-server ‘1.1.1.1’
set service dns forwarding name-server ‘8.8.8.8’
set service dns forwarding no-serve-rfc1918

Hello @marc17,
Try use next command:
set system static-host-mapping host-name testing.com inet 'xxx.xxx.xxx.xxx'

Hello,

This is to configure a DNS in Vyos, I need the network computers to respond to the DNS.

Thank you,

I’d use tcpdump to see if dns requests are sent to x.x.x.x , and if responses are received.