[PATCH] s4-dns: set TTL value in the NS server part of the SOA record
Günter Kukkukk
linux at kukkukk.com
Wed May 29 19:30:21 MDT 2013
Now also sending it to the mailing list.
----
Hi Andrew,
i noticed this when i was using samba-tool to create a
new (empty) zone.
Btw - as already mentioned, i've (locally) added an option
--outformat=flat
to "samba-tool dns query .... " just to better visually _see_ all the
invalid stuff which might have been automatically created, or which
i just added manually the wrong way.
So more like a debug tool for me. :-)
In the listing below - beside other wrong stuff - the entry
nickname (Records=0, Children=0) Error?
is such a zombie record i'm hunting atm.
But as you can see, there are other "(Records=0, Children=0)" entries,
which might need special attention.... Still working on that.
Btw - that outformat=flat option is far from complete...
Cheers, Günter
----------------
./bin/samba-tool dns query linux300 intranet01.hom @ ALL --outformat=flat
intranet01.hom. 3600 IN SOA linux300.intranet01.hom. hostmaster.intranet01.hom. (
104 ; serial number of this zone file
900 ; slave refresh
600 ; slave retry time in case of a problem
86400 ; slave expiration time
0 ; negative caching time (former "minimum" TTL)
)
intranet01.hom. 3600 NS linux300.intranet01.hom.
900 NS linux300.intranet01.hom.
900 A 192.168.200.5
900 MX 10 mail.intranet.01.hom.
900 MX 10 mail1.intranet.01.hom.
84600 MX 20 mail2.intranet01.hom.
84600 MX 20 mail3.intranet01.hom.
_msdcs (Records=0, Children=0) Error?
_sites (Records=0, Children=1) Error?
_tcp (Records=0, Children=4) Error?
_test 900 A 192.168.200.210
_udp (Records=0, Children=2) Error?
a123456789012345678 900 CNAME linux300.intranet01.hom.
berlin 900 CNAME linux300.intranet01.hom.
cboyer 900 A 192.168.200.15
DomainDnsZones (Records=0, Children=2) Error?
dsl-fritz 900 A 192.168.200.40
epsonwp 900 A 192.168.200.35
ForestDnsZones (Records=0, Children=2) Error?
ftp 900 CNAME linux300.intranet01.hom.
fynntimo 900 A 192.168.200.13
gkkkweb 900 CNAME linux300.
gkkkwebnew 900 CNAME linux300.
guenter 86400 CNAME www.intranet01.hom.
kabel-fritz 900 A 192.168.200.41
kukkukk 86400 CNAME www.intranet01.hom.
linux200 900 A 192.168.200.22
linux300 900 A 192.168.200.5
linux700 900 A 192.168.200.6
linux900 900 A 192.168.200.7
mail 900 A 192.168.200.5
new-web 900 CNAME linux300.intranet01.hom.
newalias 900 CNAME linux300.intranet01.hom.
nggs105e 900 A 192.168.200.9
nggs108 900 A 192.168.200.8
nickname (Records=0, Children=0) Error?
server01 900 A 192.168.200.1
unserpc 900 A 192.168.200.16
winxp 900 A 192.168.200.14
wrkgk 900 A 192.168.200.12
wrong5 900 A 192.168.200.172
wrong5 86400 A 192.168.200.173
wrong5 86400 A 192.168.200.220
wrong7 86400 A 192.168.200.220
wrong7 86400 TXT "This is a test"
wrong8 86400 A 192.168.200.221
www 900 CNAME linux300.intranet01.hom.
-------
This reverse one is still seen here, was created before Amitay fixed the
TTL for the PTR records:
./bin/samba-tool dns query linux300 200.168.192.in-addr.arpa @ ALL --outformat=flat
200.168.192.in-addr.arpa. 3600 IN SOA linux300.intranet01.hom. hostmaster.intranet01.hom. (
17 ; serial number of this zone file
900 ; slave refresh
600 ; slave retry time in case of a problem
86400 ; slave expiration time
3600 ; negative caching time (former "minimum" TTL)
)
200.168.192.in-addr.arpa. 3600 NS linux300.intranet01.hom.
0 NS linux300.intranet01.hom.
1 0 PTR server01.intranet01.hom
12 0 PTR wrkgk.intranet01.hom
13 0 PTR fynntimo.intranet01.hom
14 0 PTR winxp.intranet01.hom
15 0 PTR cboyer.intranet01.hom
16 0 PTR unserpc.intranet01.hom
22 0 PTR linux200.intranet01.hom
35 0 PTR epsonwp.intranet01.hom
40 0 PTR dsl-fritz.intranet01.hom
41 0 PTR kabel-fritz.intranet01.hom
5 0 PTR linux300.intranet01.hom.
6 0 PTR linux700.intranet01.hom
7 0 PTR linux900.intranet01.hom
8 0 PTR nggs108.intranet01.hom
9 0 PTR nggs105e.intranet01.hom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-s4-dns-set-TTL-value-in-the-NS-server-part-of-the-SO.patch
Type: text/x-patch
Size: 951 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20130530/0a16c965/attachment.bin>
More information about the samba-technical
mailing list