search for: rzone

Displaying 4 results from an estimated 4 matches for "rzone".

Did you mean: zone
2016 Apr 13
1
[Fwd: Re: Samba_dlz, dhcp y zona inversa no actualiza]
...ealm not set." && exit 9 [ -z "$ZONE" ] && echo "Error: zone not set." && exit 10 # Disassemble IP for reverse lookups OCT1=$(echo $IP | cut -d . -f 1) OCT2=$(echo $IP | cut -d . -f 2) OCT3=$(echo $IP | cut -d . -f 3) OCT4=$(echo $IP | cut -d . -f 4) RZONE="$OCT3.$OCT2.$OCT1.in-addr.arpa" kerberos_creds() { export KRB5_KTNAME="$KEYTAB" export KRB5CCNAME="$KRB5CC" if [ "$KRB5MIT" = "YES" ]; then KLISTARG="-s" else KLISTARG="-t" fi klist $KLISTARG || kinit -k -t "$KEYTAB" -...
2018 Mar 29
2
dhcp lease time hardware in script at dhcpd/Bind/Samba wiki page
...600' with '$TTL' Thank you for that! I take it there is no corresponding variable, which can be used as an argument in dhcpd.conf when calling dhcp-dyndns.sh? Also, I discovered another typo on the wiki page - which was actually a bit of a pain to track down. On the following line: rzone=$(echo ${ip} | awk -F '.' '{print $3"."$2"."$1".in-addr.arpa"}’) The last quote should be a single quote, but it is actually a backtick. I can report that on Slackware-current with dhcpd 4.4.1, the extra setting suggested to set the rzone is necessary -...
2018 Mar 29
0
dhcp lease time hardware in script at dhcpd/Bind/Samba wiki page
...there is no corresponding variable, > which can be used as an argument in dhcpd.conf when calling > dhcp-dyndns.sh? Not that I am aware of. > > Also, I discovered another typo on the wiki page - which was actually > a bit of a pain to track down. On the following line: > > rzone=$(echo ${ip} | awk -F '.' '{print $3"."$2"."$1".in-addr.arpa"}’) OOPs, I don't use that and I cut and pasted it in, which is no excuse for not noticing, but it is fixed now ;-) > I can report that on Slackware-current with dhcpd 4.4.1, the extra...
2018 Mar 29
3
dhcp lease time hardware in script at dhcpd/Bind/Samba wiki page
There seems to be a slight issue with the instructions at the following wiki page: https://wiki.samba.org/index.php/Configure_DHCP_to_update_DNS_records_with_BIND9 The /usr/local/bin/dhcp-dyndns.sh script seems to use a hardwired value for the lease expiry time of 3600 - independent of whatever is configured in dhcpd.conf. With the examples provided, it should work, as the example dhcpd.conf