nsupdate on a Windows ec2 instance to update dynamic DNS isn't working

kallen at groknaut.net kallen at groknaut.net
Fri Oct 7 22:18:43 UTC 2011



hello,


i'm trying to update dynamic DNS for my windows ec2 instance by running
BIND's nsupdate from the instance. it's not working. i'll show details
below.

anyone have any idea what's going on? what else i should look at or try?

* nsupdate command reports no error
* my BIND nameserver never sees the packets
* running wireshark on the windows instance itself shows me it's not
  sending any packets to the nameserver
* the Windows Firewall Service is not running
* the windows instance runs Windows Server 2003, Datacenter Edition, R2

i do know the nameserver is set up correctly in that my linux instances
are able to update dynamic dns using nsupdate against this nameserver.


contents of update.txt:
server 10.x.x.x
zone dev.sushimysavior.com
update delete SOUS-CHEF-WIN.dev.sushimysavior.com. A 
update add SOUS-CHEF-WIN.dev.sushimysavior.com. 86400 IN A 10.y.y.y
show
debug
send

in case it is necessary, i have a resolv.conf in place at
C:\WINDOWS\system32\drivers\etc\resolv.conf that contains:

    nameserver 10.x.x.x


and here's the nsupdate command run:

C:\work\bin>C:\WINDOWS\system32\dns\bin\nsupdate.exe -k C:\WINDOWS\system32\dns\etc\Kuser-ddns-ec2.sushimysavior.com.+157+14445.key -v -d -D -L 2 C:\WINDOWS\system32\dns\etc\update.txt
setup_system()
Creating key...
reset_system()
user_interaction()
get_next_command()
get_next_command()
get_next_command()
evaluate_update()
update_addordelete()
get_next_command()
evaluate_update()
update_addordelete()
get_next_command()
show_message()
Outgoing update query:
;; ->>HEADER<<- opcode: UPDATE, status: NOERROR, id:      0
;; flags:; ZONE: 0, PREREQ: 0, UPDATE: 0, ADDITIONAL: 0
;; ZONE SECTION:
;dev.sushimysavior.com.              IN      SOA

;; UPDATE SECTION:
SOUS-CHEF-WIN.dev.sushimysavior.com. 0 ANY   A
SOUS-CHEF-WIN.dev.sushimysavior.com. 86400 IN A      10.y.y.y

get_next_command()
get_next_command()
cleanup()
Shutting down task manager
shutdown_program()
Shutting down request manager
Freeing TSIG key
Destroy DST lib
Destroying request manager
Freeing the dispatchers
Shutting down dispatch manager
Destroying event
Shutting down socket manager
Shutting down timer manager
Destroying hash context
Destroying name state
Removing log context
Destroying memory context

C:\work\bin>



thanks!
kallen





More information about the bind-users mailing list