System DNS
The System DNS object is used to configure domain name system settings.
.png?Policy=eyJTdGF0ZW1lbnQiOlt7IlJlc291cmNlIjoiaHR0cHM6Ly9kemY4dnF2MjRlcWhnLmNsb3VkZnJvbnQubmV0L3VzZXJmaWxlcy80MTcwMy81NDk1Mi9ja2ZpbmRlci9pbWFnZXMvcXUvMjAyNS9pbWFnZSg2KS5wbmciLCJDb25kaXRpb24iOnsiRGF0ZUxlc3NUaGFuIjp7IkFXUzpFcG9jaFRpbWUiOjE3NjIwODk4NTd9fX1dfQ__&Signature=EnP3Qe07JBZFhQ7qRUdwlhOPIxojZ3GAA~zTUIeCIi-dBWwYkof9iL~4iS7Av-Yl6CoQU2Fdc-MhdWFJlJ8kuX~4n4Boj8YCPZ72OcUAPqFRz2ytoG9CsnlpTobaF0G4e-RLGRzk1Rl~w2QGgd~PU~5VxiM0sQQeCbZD5IHtsGlKEeMEumrwaypnZSmN~d1huWF58r3P~ms~jUgbBlqI5R08xnEvcjFx~QQdLJv-i-0m-OUC~RUHCS2YEmOg15iSmxnpEE1e77vupfVjy0~MUnBxbQ1ekPGZehveOzEzwgWovAgqaNoGe3e00yJ6aqy7PjXrM0Zlv3ng99kEydtXQw__&Key-Pair-Id=K2TK3EG287XSFC)
System DNS Attributes
| Attribute | Values | Default | Req | Description |
|---|---|---|---|---|
| Admin-state | enabled | disabled | Disabled | N | Whether to enable DNS name resolution. |
| Default-domain-list | String | N/A | Y | The default list of domains to search when looking up names which are not full FQDNs. |
| Dns-hosts-list | String | N/A | Y | A list of hostnames or IP addresses of DNS servers to use for name resolution. |
| Query-timeout | 1..120 | N | How long to wait before timing out a DNS query. |
Note 1: * = required parameter
- Command Path – tolt>system >dns>config>
- Module – tolt
- Container – system
- Container – dns
- Container – config
- Types –
- Admin-state – Whether to enable DNS name resolution.
- enabled | disabled (default)
- *Default-domain-list – The default list of domains to search when looking up names which are not full FQDNs.
- string
- *Dns-hosts-list – A list of hostnames or IP addresses of DNS servers to use for name resolution..
- String
- Query-timeout – How long to wait before timing out a DNS query.
- 1..120 (default 5)
- Admin-state – Whether to enable DNS name resolution.
System DNS configuration
Note: When entering list-based attributes, the user must enclose the members of the list in square brackets; the user MUST have spaces between the brackets and the first and last data member.
- Command Path – tolt>system>dns>config>
- Module – tolt
- Container – system
- Container – dns
- Container – config
- Types – Example Parameters
- admin-state enabled
- default-domain-list [ tellabs.com tellabs.network ]
- dns-hosts-list [ 10.50.0.103 10.50.0.102 ]
- From the MDS1-ESUA(Config)# command line, input tolt system dns config admin-state enabled default-domain-list [ tellabs.com tellabs.network ] dns-hosts-list [ 10.50.0.103 10.50.0.102 ], and press Enter.
- Input commit and press Enter. Outputs similar to the following are displayed:
MDS1-ESUA(Config)# tolt system dns config admin-state enabled default-domain-list [ tellabs.com tellabs.network ] dns-hosts-list [ 10.50.0.103 10.50.0.102 ] <enter> MDS1-ESUA(Config)# commit <enter> Commit complete. MDS1-ESUA(Config)# _ |
Delete DNS Configuration
- Command Path – no>tolt>system>dns>
- Command – no
- Module – tolt
- Container – system
- Container – dns
- From the MDS1-ESUA<Config># command line, input no tolt system dns, and press Enter.
- Input commit and press Enter. Outputs similar to the following are displayed:
MDS1-ESUA<Config># no tolt system dns <enter> MDS1-ESUA<Config># commit <enter> Commit complete. MDS1-ESUA<Config>#_ |
Remove a DNS Server
- Command Path – no>tolt>system>dns>
- Command – no
- Module – tolt
- Container – system
- Container – dns
- Container – config
- Types – Example Parameters
- dns-hosts-list 10.50.0.102
- From the MDS1-ESUA<Config># command line, input no tolt system dns config dns-hosts-list 10.50.0.102, and press Enter.
- Input commit and press Enter. Outputs similar to the following are displayed:
MDS1-ESUA<Config># no tolt system dns config dns-hosts-list 10.50.0.102 <enter> MDS1-ESUA<Config># commit <enter> Commit complete. MDS1-ESUA<Config>#_ |
Disable DNS
- Command Path – tolt>system>dns>
- Module – tolt
- Container – system
- Container – dns
- Type – Example Parameter
- admin-state disabled
- From the MDS1-ESUA<Config># command line, input tolt system dns config admin-state disabled, and press Enter.
- Input commit and press Enter. Outputs similar to the following are displayed:
MDS1-ESUA<Config># tolt system dns config admin-state disabled <enter> MDS1-ESUA<Config># commit <enter> Commit complete. MDS1-ESUA<Config>#_ |
Show DNS config
- Command Path – show>system>dns>
- Command – show
- Database – running-config
- Module – tolt
- Container – system
- Container – dns
- From the MDS1-ESUA<Config># command line, input show running-config tolt system dns, and press Enter. Output similar to the following is displayed:
MDS1-ESUA<Config># show running-config tolt system dns <enter
tolt system dns config admin-state enabled
tolt system dns config dns-hosts-list [ 10.50.0.103 ]
tolt system dns config default-domain-list [ tellabs.com tellabs.network ]
tolt system dns config query-timeout 5
MDS1-ESUA<Config>#_
|
FEEDBACK: Are you happy with this material?
Thank you Your feedback helps us to continually improve our content.