search for: a_rec

Displaying 5 results from an estimated 5 matches for "a_rec".

2023 Aug 11
1
Bug in dhcp-dyndns.sh script, A_REC always singleton array
...t $2}' " filtering these becomes > > respectively > > > > 10.13.37.10 > > > > and > > > > 10.13.37.100 > > 10.13.37.101 > > > > So just splitting by lines should work. > > > > Unfortunately just using mapfile with A_REC variable does not quite > > work as here strings always gets a newline at the end. > > > > root at dy3:/# mapfile -t foo <<< "" > > root at dy3:/# echo ${#foo[@]} > > 1 > > > > I would then suggest instead redirecting the query command...
2023 Aug 11
1
Bug in dhcp-dyndns.sh script, A_REC always singleton array
...ttl=3600) A: 10.13.37.101 (flags=f0, serial=1392063, ttl=3600) With the "| grep 'A:' | awk '{print $2}' " filtering these becomes respectively 10.13.37.10 and 10.13.37.100 10.13.37.101 So just splitting by lines should work. Unfortunately just using mapfile with A_REC variable does not quite work as here strings always gets a newline at the end. root at dy3:/# mapfile -t foo <<< "" root at dy3:/# echo ${#foo[@]} 1 I would then suggest instead redirecting the query command right away with process substitution `mapfile -t `A_REC `< <`($...
2023 Aug 11
1
Bug in dhcp-dyndns.sh script, A_REC always singleton array
...t; > With the "| grep 'A:' | awk '{print $2}' " filtering these becomes > respectively > > 10.13.37.10 > > and > > 10.13.37.100 > 10.13.37.101 > > So just splitting by lines should work. > > Unfortunately just using mapfile with A_REC variable does not quite > work as here strings always gets a newline at the end. > > root at dy3:/# mapfile -t foo <<< "" > root at dy3:/# echo ${#foo[@]} > 1 > > I would then suggest instead redirecting the query command right away > with process substi...
2023 Aug 02
2
Configure DHCP to update DNS records problem
...3 10:22:54 [dyndns] : Running check for valid kerberos ticket Aug 2 10:22:54 S1 logger: I am uid=105(dhcpd) gid=111(dhcpd) groups=111(dhcpd) Aug 2 10:22:54 S1 logger: /usr/bin/samba-tool dns query dc1.foo.bar foo.bar iPhone A -k yes Aug 2 10:22:55 S1 logger: Results: 0 Aug 2 10:22:55 S1 logger: A_REC: Aug 2 10:22:55 S1 logger: 'A' record changed, updating record. Aug 2 10:22:55 S1 logger: /usr/bin/samba-tool dns delete dc1.foo.bar foo.bar iPhone A -k yes Aug 2 10:22:55 S1 logger: /usr/bin/samba-tool dns add dc1.foo.bar foo.bar iPhone A 192.168.x.x -k yes Aug 2 10:22:56 S1 logger: /us...
2023 Aug 02
1
Configure DHCP to update DNS records problem
...ns] : Running check for valid kerberos ticket > Aug 2 10:22:54 S1 logger: I am uid=105(dhcpd) gid=111(dhcpd) groups=111(dhcpd) > Aug 2 10:22:54 S1 logger: /usr/bin/samba-tool dns query dc1.foo.bar foo.bar iPhone A -k yes > Aug 2 10:22:55 S1 logger: Results: 0 > Aug 2 10:22:55 S1 logger: A_REC: > Aug 2 10:22:55 S1 logger: 'A' record changed, updating record. > Aug 2 10:22:55 S1 logger: /usr/bin/samba-tool dns delete dc1.foo.bar foo.bar iPhone A -k yes > Aug 2 10:22:55 S1 logger: /usr/bin/samba-tool dns add dc1.foo.bar foo.bar iPhone A 192.168.x.x -k yes > Aug 2 10:22:...