Scotech Scotech
Knowledge Base
[ Home | KB | Tools | Requests? ]


Manually updated a dynamic DNS server


Manually run the commands to dynamically update DNS.

# nsupdate
> server ns1.domain.com
> zone dyn.domain.com
> update delete test.dyn.domain.com. A
> update add test.dyn.domain.com. 3600 A 192.168.1.100

You can check to see what's going to be submitted.

> show
Outgoing update query:
;; ->>HEADER<<- opcode: UPDATE, status: NOERROR, id: 0
;; flags: ; ZONE: 0, PREREQ: 0, UPDATE: 0, ADDITIONAL: 0
;; ZONE SECTION:
;dyn.domain.com. IN SOA

;; UPDATE SECTION:
test.dyn.domain.com. 0 ANY A
test.dyn.domain.com. 86400 IN A 192.168.1.100

If you are happy with the results, submit the change.

> send
> quit

Now you can do an nslookup to confirm it's been changed.

- Scotech



[ Home | KB | Tools | Email: info@scotech.com ]

© 1996-2010 Scotech. All rights reserved.