Hitachi Gigabit Router GR2000 Series Enhanced Version Configuration Commands, Vol. 2
4-4
GR2K-GA-0014
Ver. 07-02
To delete domain name:
delete dns-resolver --domain
To show information:
show dns-resolver
Parameter
<host name>
Description:
Specifies host name of this router.
<local domain name>
Description:
Specifies domain name of this router.
<IP Address>
Description:
Specifies IP address of name server in dot.
Example
1. Set of DNS resolver
Set DNS resolver with own host name as router-1.mydomain.com, domain name
as mydomain.com, and nameserver as 192.168.0.1:
2. Invalidity of DNS resolver
Set DNS resolver to invalid with its definition being left:
(config)# dns-resover -hostname router-1.mydomain.com
(config)# dns-resolver nameserver 192.168.0.1
(config)# dns-resolver -domain mydomain.com
(config)# dns-resolver yes
(config)# show dns-resolver
dns_resolver yes {
hostname router-1.mydomain.com;
nameserver 192.168.0.1;
domain mydomain.com;
};
(config)#
(config)# show dns-resolver
dns_resolver yes {
hostname router-1.mydomain.com;
nameserver 192.168.0.1;
domain mydomain.com;
};
(config)# dns-resolver no
(config)# show dns-resolver
dns_resolver no {
hostname router-1.mydomain.com;
nameserver 192.168.0.1;
domain mydomain.com;
};
(config)#