This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revisionBoth sides next revision |
diy_rfc2136_dyndns_with_bind [29.10.2013 14:27] – Pascal Suter | diy_rfc2136_dyndns_with_bind [25.06.2021 08:17] – [DIY RFC2136 dyndns with bind] Pascal Suter |
---|
900 ; refresh (15 minutes) | 900 ; refresh (15 minutes) |
600 ; retry (10 minutes) | 600 ; retry (10 minutes) |
2600 ; expire (43 minutes 20 seconds) | 604800 ; expire (1 Week) |
30 ; minimum (30 seconds) | 30 ; minimum (30 seconds) |
) | ) |
}; | }; |
}; | }; |
</code> **note** keep the //add_keys_here// comment exactly as it is, this is the marker for our script so it knows where to add new keys | </code bash add_new_host.sh> **note** keep the //add_keys_here// comment exactly as it is, this is the marker for our script so it knows where to add new keys |
* edit your main named.conf file, usually in /etc/bind/named.conf and add an include line at the end of your zone definitions like so: <code>include "/etc/bind/dyn/named.conf";</code> | * edit your main named.conf file, usually in /etc/bind/named.conf and add an include line at the end of your zone definitions like so: <code>include "/etc/bind/dyn/named.conf";</code> |
* create the "add_new_host.sh" script that will add new hosts to our setup. here are the contents of the script: <code> | * create the "add_new_host.sh" script that will add new hosts to our setup. here are the contents of the script: <code> |