dynhost set n hostname ifname ipadr

Supports configuration of up to 8 user-defined local DNS lookups.

n = 1 to 8index number
hostnameSpecifies hostname to resolve locally
ifname=cell,wifiSpecifies the interface name that the lookup applies to
ipadr = xxx.xxx.xxx.xxxSpecifies IP address that the hostname will resolve to

Note:


Examples:

  1. Resolve test.com to 192.168.100.10 when default route is using the wifi interface. Resolve test.com to 8.8.8.8 when default route is using the cell interface :
    cmd dynhost set 1 test.com wifi 192.168.100.10
    cmd dynhost set 2 test.com cell 8.8.8.8

See also: DNS


Firmware revision 4543

Last modified 5 years ago Last modified on 15-03-05 03:35:50 PM