Difference between revisions of "Windows DHCP"

From UVOO Tech Wiki
Jump to navigation Jump to search
(Created page with "# Dynamic DNS https://access.redhat.com/solutions/3905181")
 
Line 1: Line 1:
 
# Dynamic DNS
 
# Dynamic DNS
 
https://access.redhat.com/solutions/3905181
 
https://access.redhat.com/solutions/3905181
 +
 +
 +
```
 +
echo "server 10.207.39.2
 +
update add $HOST.urdomain1.com 3600 IN A xxx.xxx.xxx.xxx
 +
send
 +
update add xxx.xxx.xxx.xxx.in-addr.arpa 3600 IN PTR $HOST.urdomain1.com
 +
send
 +
quit
 +
" | nsupdate -k /etc/bind/rndc.key
 +
 +
End Example
 +
@leifnel
 +
leifnel commented on Jan 19, 2018 •
 +
@gstanden, still wrong.
 +
 +
The reverse record has the octets in reverse order
 +
 +
echo "server 10.207.39.2
 +
update add $HOST.urdomain1.com 3600 IN A a.b.c.d
 +
send
 +
update add d.c.b.a.in-addr.arpa 3600 IN PTR $HOST.urdomain1.com
 +
send
 +
quit
 +
" | nsupdate -k /etc/bind/rndc.key
 +
```

Revision as of 21:56, 3 December 2020

Dynamic DNS

https://access.redhat.com/solutions/3905181

echo "server 10.207.39.2
update add $HOST.urdomain1.com 3600 IN A xxx.xxx.xxx.xxx
send
update add xxx.xxx.xxx.xxx.in-addr.arpa 3600 IN PTR $HOST.urdomain1.com
send
quit
" | nsupdate -k /etc/bind/rndc.key

End Example
@leifnel
leifnel commented on Jan 19, 2018 • 
@gstanden, still wrong.

The reverse record has the octets in reverse order

echo "server 10.207.39.2
update add $HOST.urdomain1.com 3600 IN A a.b.c.d
send
update add d.c.b.a.in-addr.arpa 3600 IN PTR $HOST.urdomain1.com
send
quit
" | nsupdate -k /etc/bind/rndc.key