Vyatta – DNS cache server

set system name-server 93.155.131.1
set system name-server 93.155.130.4
set service dns forwarding system
set service dns forwarding listen-on eth2
 
vyatta@core2# show system name-server
 name-server 93.155.130.4
 name-server 93.155.131.1
[edit]
 
vyatta@core2# show service dns
 forwarding {
     listen-on eth2
     system
 }
[edit]
 
vyatta@core2# run show dns forwarding statistics
----------------
Cache statistics
----------------
Cache size: 150
Queries forwarded: 114
Queries answered locally: 7
Total DNS entries inserted into cache: 255
DNS entries removed from cache before expiry: 0
 
---------------------
Nameserver statistics
---------------------
Server: 93.155.130.4
Queries sent: 5
Queries retried or failed: 0
 
Server: 93.155.131.1
Queries sent: 114
Queries retried or failed: 4
 
[edit]

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.