Debugging – Allied Telesis AlliedWare NetScreen Routers User Manual
Page 12

USA Headquar ters
|
19800 Nor th Cr eek Parkwa y
|
Suite 200
|
Bothell
|
WA 98011
|
USA
|
T: +1 800 424 4284
|
F: +1 425 481 3895
Eur opean Headquar ters
|
Via Motta 24
|
6830 Chiasso
|
Switzerland
|
T: +41 91 69769.00
|
F: +41 91 69769.11
Asia-Pacific Headquar ters
|
11 T ai Seng Link
|
Singapor e
|
534182
|
T: +65 6383 3832
|
F: +65 6383 3830
www .alliedtelesis.com
© 2006 Allied Tel esis Inc. All rights reserved. Information in this document is subject to change without notice. All company names, logos, and product designs that are trademarks or registered trademarks are the property of their respective owners.
C613-16100-00 REV A
Debugging
The dynamic DNS client debug facility gives more information about rejected updates. When
DynDNS.com rejects an update it returns an error code, which is displayed in the debug
output. To enable debugging, use the command:
enable ddns debug
The figure on the next page shows debugging output for an update that failed because of an
incorrect username or password. The “return code” section of the output shows the error
code (“badauth” in this example, as shown in bold), and further down in the output is more
information about the cause of the return code (“Incorrect userid or path” in this example).
Manager >
ddnsIpgSetDynamicIpAddrNotify int=ppp0, ip=222.152.180.63
Manager >
ddnsReadDdnsRecord:
DynDns record file read IP=219.89.51.70, unicode=0x44444353
ddnsIpDNSServerName
ddnsIpDNSCallback server ip 63.208.196.95
idleflag=0x00000030, result=0x01000000
ddnsStartRequest
Manager >
ddnsHttpCreateRequestHeader
Manager >
ddnsHttpClientCallback sessionid=0x01581adc statusCode=401
ddnsHttpClientCallback sessionid=0x01581adc statusCode=1
HTTP Done
ddnsProcessReturnCodeTop
return code:
7
badauth
0
search for numhost
search for dnserr
search for 911
search for badsys
search for badagent
search for badauth
Incorrect userid or password.
result=0x00004000
action=0x00000400
ddnsProcessUpdateResult