_______________________________________________________________________________________________________
_______________________________________________________________________________________________________
© Virtual Access 2018
GW6600 Series User manual
Issue: 1.7
Page 324 of 519
30.3.3.1
PTR records using uci
root@VA_router:~# uci show dhcp
……
dhcp.@domain[0]=domain
dhcp.@domain[0].name=Domain1
dhcp.@domain[0].ip=2.2.2.2
30.3.3.2
PTR records using package option
root@VA_router:~# uci export dhcp
package dhcp
……
config domain
option name 'Domain1'
option ip '2.2.2.2'
30.3.4
PTR records diagnostics
30.3.4.1
PTR records table
To view PTR records, enter:
root@VA_router:~# pgrep -fl dnsmasq
4724 /usr/sbin/dnsmasq -K -D -y -Z -b -E -s lan -S /lan/ -l
/tmp/dhcp.leases -r /tmp/resolv.conf.auto --stop-dns-rebind --rebind-
localhost-ok -A /Device1.lan/1.1.1.1 --ptr-record=1.1.1.1.in-
addr.arpa,Device1.lan -A /Device2.lan/2.2.2.2 --ptr-record=2.2.2.2.in-
addr.arpa,Device2.lan
30.4
Static leases
Static leases are used to assign fixed IP addresses and symbolic hostnames to DHCP
clients based on their MAC (hardware) address.
They are also required for non-dynamic interface configurations where only hosts with a
corresponding lease are served.
30.4.1
Configuration packages used
Package
Sections
dhcp
host
30.4.2
Configuring static leases using the web interface
In the top menu, select Network -> DHCP and DNS. The DHCP and DNS configuration
page appears.