Cisco CSS 11501 Getting Started Guide - Page 74

Using DNS Resolve, Specifying a Secondary DNS Server, Specifying a DNS Suffix

Page 74 highlights

Using DNS Resolve Chapter 3 Configuring the Domain Name Service Using DNS Resolve To resolve a host name by querying the DNS server, use the dns resolve command. Enter the host name you want to resolve in mnemonic host-name format (for example, myhost.mydomain.com). For example: (config)# dns resolve fred.arrowpoint.com Specifying a Secondary DNS Server When a primary DNS server fails, the CSS uses the secondary DNS server to resolve host names to IP addresses. Use the dns secondary command to specify a secondary DNS server. Enter the IP address of the secondary DNS server in dotted-decimal notation (for example, 192.168.11.1). (config)# dns secondary 192.168.3.6 You can specify a maximum of two secondary servers. To specify each additional server, repeat the dns secondary command. The order in which you enter the IP addresses is the order in which they are used when the primary DNS server fails. To remove a secondary DNS server, specify the no version of the command followed by the IP address of the DNS server you wish to remove. For example: (config)# no dns secondary 192.168.3.6 Specifying a DNS Suffix To specify the default suffix to use when querying the DNS facility, use the dns suffix command. Enter the default suffix as an unquoted text string with no spaces and a maximum of 64 characters. For example: (config)# dns suffix arrowpoint.com To remove the default DNS suffix, enter: (config)# no dns suffix Cisco Content Services Switch Getting Started Guide 3-2 OL-6037-01

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142

Chapter 3
Configuring the Domain Name Service
Using DNS Resolve
3-2
Cisco Content Services Switch Getting Started Guide
OL-6037-01
Using DNS Resolve
To resolve a host name by querying the DNS server, use the
dns resolve
command. Enter the host name you want to resolve in mnemonic host-name
format (for example, myhost.mydomain.com).
For example:
(config)#
dns resolve fred.arrowpoint.com
Specifying a Secondary DNS Server
When a primary DNS server fails, the CSS uses the secondary DNS server to
resolve host names to IP addresses. Use the
dns secondary
command to specify
a secondary DNS server. Enter the IP address of the secondary DNS server in
dotted-decimal notation (for example, 192.168.11.1).
(config)#
dns secondary 192.168.3.6
You can specify a maximum of two secondary servers. To specify each additional
server, repeat the
dns secondary
command. The order in which you enter the IP
addresses is the order in which they are used when the primary DNS server fails.
To remove a secondary DNS server, specify the
no
version of the command
followed by the IP address of the DNS server you wish to remove. For example:
(config)#
no dns secondary 192.168.3.6
Specifying a DNS Suffix
To specify the default suffix to use when querying the DNS facility, use the
dns
suffix
command. Enter the default suffix as an unquoted text string with no spaces
and a maximum of 64 characters.
For example:
(config)#
dns suffix arrowpoint.com
To remove the default DNS suffix, enter:
(config)#
no dns suffix