Vyatta Network OS Documentation

Learn how to install, configure and operate the Vyatta NOS, which helps drive our virtual networking & physical platforms portfolio.

service dns forwarding cache-size <size>

Specifies the size of the DNS forwarding service cache.

set service dns forwarding cache-size size
delete service dns forwarding cache-size
show service dns forwarding cache-size

A maximum of 150 DNS entries are stored in the DNS forwarding cache.

size
Optional. The maximum number of DNS entries to be held in the DNS forwarding cache. The number ranges 0 through10000, where 0 means an unlimited number of entries are stored. The default number is150.

Configuration mode


service {
	dns {
		forwarding {
			cache-size size 
		}
	}
}

Use this command to specify the size of the DNS forwarding cache.

Use the set form of this command to specify the size of the DNS forwarding cache.

Use the delete form of this command to restore the default size of the DNS forwarding cache, which is 150 entries.

Use the show form of this command to display the size of the DNS forwarding cache.