Minor changes to text messages
This commit is contained in:
14
dnsupdate.py
14
dnsupdate.py
@@ -1,6 +1,6 @@
|
||||
#! /usr/bin/env python
|
||||
# dnsupdate.py
|
||||
# Updates a dynamic dns-record using a TSIG key.
|
||||
# A utility to update dynamic dns-records using a TSIG key.
|
||||
|
||||
|
||||
def checkerror(msg, show=""):
|
||||
@@ -43,25 +43,25 @@ def getparams(msg):
|
||||
help="Alternate config file")
|
||||
parser.add_option("--delete",
|
||||
action="store_true",
|
||||
help="Remove the host from the zone")
|
||||
help="Remove the host from the nameserver")
|
||||
parser.add_option("-d", "--domain",
|
||||
type="string",
|
||||
help="Domain to update")
|
||||
parser.add_option("--force",
|
||||
action="store_true",
|
||||
help="Force the action")
|
||||
help="Force the action, do not check if update is necessary")
|
||||
parser.add_option("-i", "--ipaddress",
|
||||
type="string",
|
||||
help="IP-address of the host [auto detected]")
|
||||
help="Public IP-address for this host [auto detected]")
|
||||
parser.add_option("-k", "--keyname",
|
||||
type="string",
|
||||
help="Name of the TSIG key")
|
||||
parser.add_option("-n", "--hostname",
|
||||
type="string",
|
||||
help="Hostname of local machine")
|
||||
help="Hostname to publish")
|
||||
parser.add_option("--nameserver",
|
||||
type="string",
|
||||
help="Nameserver to send queries to")
|
||||
help="IP-address to the nameserver")
|
||||
parser.add_option("-q", "--quiet",
|
||||
action="store_true",
|
||||
help="Quit mode")
|
||||
@@ -73,7 +73,7 @@ def getparams(msg):
|
||||
help="Display config file data")
|
||||
parser.add_option("-u", "--ipurl",
|
||||
type="string",
|
||||
help="URL to ip server")
|
||||
help="URL to the server which detects the public IP-address")
|
||||
parser.add_option("-t", "--ttl",
|
||||
type="int",
|
||||
help="TTL in seconds")
|
||||
|
||||
Reference in New Issue
Block a user