DLZUtil

From Lundman Wiki
Jump to: navigation, search

dlzdb-util

Tool to add and remove IPs from the DLZ DB.

dlzdb-util [-a] [-z zone(domain)] [-t type] [-n name] [-v value] [-m mx-prefix]
                [-S serial] [-F refresh-time] [-R retry-time] [-E expire] [-H hostmaster]
                [-T minimumTTL] [-N primary-name-server]
dlzdb-util [-d] [-z zone(domain)] 
dlzdb-util [-s] [-z zone(domain)]

ex:
Add record
dlzdb-util -a -z dmain.com -t A -n www -v 172.16.5.33 
dlzdb-util -a -z dmain.com -t MX -n @ -v mail.domain.com. -m 10
dlzdb-util -a -z dmain.com -t TXT -n @ -v "text field here" -m 10
dlzdb-util -a -z dmain.com -t SOA -S 2006112401 -F 28800 -R 7200 -E 604800 -T 86400 -H hostmaster.domain.com. -N  01.dnsv.jp.
dlzdb-util -a -z 5.16.172.in-addr.arpa -t SOA -S 2006112401 -F 28800 -R 7200 -E 604800 -T 86400 -H  hostmaster.domain.com. -N 01.dnsv.jp.
dlzdb-util -a -z 5.16.172.in-addr.arpa -t PTR -n 34 -v www.dmain.com.


Delete record
dlzdb-util -d -z domain.com

Show record
dlzdb-util -s -z domain.com


Latest versions here:

[dlzdb-util] 2007-06-28