Procedure to change the default DNS Resolution time for Host Labels

Categories:
Solution Number:
S27514
Last Modified:
2015-10-30
Issue

RiOS resolves host names through a DNS server immediately after you add a new host label or after you edit an existing host label. RiOS also automatically re-resolves host names once 24 hours.

How to change this default 24 hours to a user defined value?

Solution

There is no GUI interface to change this default value. We need to create a RiOS job that will resolve the host names and will run at user defined interval.

Please see the example below

Verify there is no preexisting job # 99 running below commands.

en

config t

show job 99
% Unknown job 99  <=== This means there is no preexisting job 99.

Create a Job #99 running below commands. (If there is a preexisting job #99, choose a different job #)

config t

job 99 name resolve_host_labels
job 99 comment "This Job resolves Host labels"
job 99 command 1 "resolve host-labels"
job 99 execute
job 99 recurring 3600 <<<< this value defines how often you want to resolve the host-labes in seconds. This example resolves the host-labes every 1hour>>>>
job 99 enable

Please verify that job is created correctly:

sh job 99

sample outpout:

supsv-sh4 (config) # show job 99
Job 10 (resolve_host_labels):
   Status:           pending
   Enabled:          yes
   Failure Continue: no
   Run As:           admin
   Comment:          This Job resolves Host labels
   Interval:         60
   Schedule Time:    N/A
   Commands:
      Command 1: resolve host-labels
   Last Execution:
      Start Time:    2015/10/30 10:16:00
      Finish Time:   2015/10/30 10:16:08
      Output:
 

 

 

Attachments
NOTICE: Riverbed® product names have changed. Please refer to the Product List for a complete list of product names.
Can't find an answer? Create a case