IP Networking Configuration
Configuration Guide 40 Document #: LTRT-31657
6.3 Example #2 of Basic Static DNS Configuration
In this typical example scenario, the MSBR, acting as an access router for the
organizational network, is configured with a static DNS server address. The MSBR also
acts as a DHCP server on the LAN, and by the configuration ip name-server
0.0.0.0, the MSBR acts as a DNS server, relaying DNS messages to the DNS server's
IP address that was provided statically or dynamically from the WAN interface.
Figure 6-2: Static DNS
6.3.1 Configuration
MSBR# configure data
MSBR(conf-data)# interface GigabitEthernet 0/0
MSBR(conf-if-GE 0/0)# firewall enable
MSBR(conf-if-GE 0/0)# napt
MSBR(conf-if-GE 0/0)# ip address dhcp
MSBR(conf-if-GE 0/0)# ip dhcp-client default-route
MSBR(conf-if-GE 0/0)# ip dns-server static
MSBR(conf-if-GE 0/0)# ip name-server 10.10.10.10
MSBR(conf-if-GE 0/0)# no service dhcp
MSBR(conf-if-GE 0/0)# no shutdown
MSBR(conf-if-GE 0/0)# exit
MSBR(conf-data)# interface VLAN 1
MSBR(conf-if-VLAN 1)# ip address 192.168.0.1 255.255.255.0
MSBR(conf-if-VLAN 1)# desc "VLAN 1 LAN VOIP"
MSBR(conf-if-VLAN 1)# ip dhcp-server network 192.168.0.10
192.168.0.20 255.255.255.0
MSBR(conf-if-VLAN 1)# ip dhcp-server lease 0 1 0
MSBR(conf-if-VLAN 1)# ip dns server static
MSBR(conf-if-VLAN 1)# ip name-server 0.0.0.0
MSBR(conf-if-VLAN 1)# service dhcp
MSBR(conf-if-VLAN 1)# no shutdown