DNS Forward Service not working?


#1

Hi,
wen i do the following:

$ show dns forwarding statistics

Cache statistics

Cache size: 150
Queries forwarded: 0
Queries answered locally: 0
Total DNS entries inserted into cache: 0
DNS entries removed from cache before expiry: 0


Nameserver statistics

Server: 8.8.8.8
Queries sent: 0
Queries retried or failed: 0

Server: X.X.X.X (sorry… hidden)
Queries sent: 0
Queries retried or failed: 0

It doesn’t make since, because i’m browsing in one of the hosts (for example) which goes to the internet via the router (Vyos) and yet, i don’t see any dns that were sent or something. any ideas?.

Thanks.


#2

Is the ‘client’ machine you are browsing from set to get its DNS from the VyOS or some other server? If it is NOT pointing to the VyOS for DNS resolution, then you will see no stats.


#3

As far as i understand, if everything is 0, basically i can turn off the dns service. correct?.


#4

If your clients are not pointing to the VyOS for DNS, you don’t need forwarding in place