Dns server host add, Add a local dns host, Dns commands – Technicolor - Thomson ST585 V6 User Manual

Page 223: Syntax, Example: related commands

Advertising
background image

E-DOC-CTC-20061027-0004 v1.0

DNS Commands

199

dns server host add

Add a local DNS host.

SYNTAX:

where:

EXAMPLE:

RELATED COMMANDS:

dns server host add

name = <string>
[addr = <ip-address>]
[ttl = <number{0-2147483647}>]

name

The name of the IP host to be added.

REQUIRED

addr

The IP address of the host.

OPTIONAL

ttl

A number between 0 and 2147483647 (seconds).
Represents the lifetime of the host.
The default is

0

(in other words, no limit on the lifetime).

OPTIONAL

=>dns server host add name=myDNS addr=150.150.150.150 ttl=3600
=>dns server host list
Address

Hostname

TTL (s)

150.150.150.150

myDNS

3600

<local>

speedtouch

0

<local>

dsldevice

0

=>

dns server host delete

Delete a local DNS host.

dns server host list

List all the local DNS hosts.

Advertising