OcNOS-RON : System Management Guide : System Management Configuration Guide : DNS Configuration
DNS Configuration
Overview
The Domain Name System (DNS) is an Internet service that translates domain names into IP addresses. When a domain name is used, DNS service translates the name into the corresponding IP address. If one DNS server does not know how to translate a particular domain name, it gathers information from other Domain Name Systems to obtain the correct IP address.
Support for In-band Management over default VRF
OcNOS offers support for DNS over default and management VRFs via in-band management interface & OOB management interface, respectively.
The feature can be enabled to run on default and management VRF simultaneously. By default, it runs on management VRF.
Topology
.
DNS sample topology
Configuration
 
#configure terminal
Enter Configure mode.
(config)#ip name-server vrf management 10.12.17.11
This add a IPv4 Name Server to the DNS.
(config)#ip name-server vrf management 10.1.1.2
This add a IPv4 Name Server to the DNS.
(config)#ip host vrf management BINGO 10.1.1.1
This will add IPv4 host to the DNS
(config)#commit
Commit the candidate configuration to the running configuration
(config)#exit
Exit configure mode.
Validation Commands
#show hosts vrf management
VRF: default
 
DNS lookup is disabled
Default domain is empty
DNS domain list is empty
 
Name Servers : 10.12.17.11 10.1.1.2
Host Address
 
---- -------
 
BINGO 10.1.1.1
 
 
* - Values assigned by DHCP Client.
 
Configuration
 
#configure terminal
Enter Configure mode.
(config)#ip name-server vrf management 3001::1
This add a IPv6 Name Server to the DNS.
(config)#ip host vrf management bingo 5001::1
This will add IPv6 host to the DNS
(config)#commit
Commit the Candidate configuration to the running configuration
(config)#exit
Exit configure mode.
Validation Commands
OcNOS#show hosts vrf management
VRF: management
 
DNS lookup is enabled
Default domain is empty
DNS domain list is empty
 
Name Servers : 3001::1
Host Address
---- -------
bingo 5001::1
 
* - Values assigned by DHCP Client.
OcNOS#