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

2011-10-08 Thread Mark Andrews

Make sure that the send line has a end of line.  Many windows editors
don't add a end of line unlike unix editors that do.

In message 20111007221843.gq28...@dradis.groknaut.net, kal...@groknaut.net wr
ites:
 
 
 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\binC:\WINDOWS\system32\dns\bin\nsupdate.exe -k C:\WINDOWS\system32\d
 ns\etc\Kuser-ddns-ec2.sushimysavior.com.+157+14445.key -v -d -D -L 2 C:\WINDO
 WS\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
 
 
 ___
 Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe
  from this list
 
 bind-users mailing list
 bind-users@lists.isc.org
 https://lists.isc.org/mailman/listinfo/bind-users
-- 
Mark Andrews, ISC
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742 INTERNET: ma...@isc.org
___
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe 
from this list

bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users


Re: Experience with DDNS (RFC 2136)

2011-10-08 Thread Jan-Piet Mens
  4. Perceived second-class status of DLZ

Ack.

  6. Too-tight coupling between the SQL DB and DNS

It'll be interesting to see how BIND 10 [1] handles this coupling [2]. I
haven't (yet) had the inclination to experiment, mainly because (and now
back on topic :-) DDNS is apparently not yet ready ;) [3]

-JP

 [1]: http://bind10.isc.org/wiki/DesignDiagrams
 [2]: http://bind10.isc.org/wiki/DataSourceDesign
 [3]: http://bind10.isc.org/wiki/Year3Plan
___
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe 
from this list

bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users