Displaying 3 results from an estimated 3 matches for "zone_ip".
2020 Feb 27
5
New PTR records not visible
...script 2 times!!
DC_FQDN="$(hostname -f)"
DC_NAME="$(hostname -s)"
# After the first run change the "test1/test2 to test01/test02"
# and run it again.
ZONE_TEST1="test1.domain.tld"
ZONE_TEST2="test2.domain.tld"
ZONE_ARPA="0.168.192"
ZONE_IP="192.168.0"
#kinit Administrator !! AUTH before you run this script.
# Create zone
# test with FQDN
samba-tool dns zonecreate $DC_FQDN $ZONE_TEST1
# test with NAME
samba-tool dns zonecreate $DC_NAME $ZONE_TEST2
# Create reverse zone
samba-tool dns zonecreate $DC_FQDN $ZONE_ARPA.in-add...
2020 Feb 27
0
New PTR records not visible
...e -f)"
> DC_NAME="$(hostname -s)"
>
> # After the first run change the "test1/test2 to test01/test02"
> # and run it again.
> ZONE_TEST1="test1.domain.tld"
> ZONE_TEST2="test2.domain.tld"
>
> ZONE_ARPA="0.168.192"
> ZONE_IP="192.168.0"
>
> #kinit Administrator !! AUTH before you run this script.
>
> # Create zone
> # test with FQDN
> samba-tool dns zonecreate $DC_FQDN $ZONE_TEST1
> # test with NAME
> samba-tool dns zonecreate $DC_NAME $ZONE_TEST2
>
> # Create reverse zone
>...
2020 Feb 27
4
New PTR records not visible
Ok, new test.
Besides that i dont like the python errors shown, this still looks good.
So i dont know.. See below, i can not make it error.
for x in 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 ; do samba-tool dns add dc1.internal.dom.tld $x.249.10.in-addr.arpa 158 PTR host-test.extrazone.dom.tld ; done
Record added successfully
Record added successfully
Record added successfully
Record added