Yes, offcourse, the 172.19 is a "bad" example. I suggest we use the official RFC 1918 zones. 10.0.0.0/8 172.16.0.0/12 192.168.0.0/16 And for example 192.168.0.0/24 as extra, or people get confused. ;-) Greetz, Louis> -----Oorspronkelijk bericht----- > Van: samba [mailto:samba-bounces at lists.samba.org] Namens > Rowland penny via samba > Verzonden: woensdag 7 augustus 2019 10:52 > Aan: samba at lists.samba.org > Onderwerp: Re: [Samba] samba-tool PTR with /16 network > > On 07/08/2019 09:27, L.P.H. van Belle via samba wrote: > > Hai, > > > > Ok, i did a few things on my DC and see the how/what here. > > > > First, the zone. > > samba-tool dns zonecreate rtd-dc1 19.172.in-addr.arpa > > That worked fine, in windows DNS tool that shows correct. > > > > Now i added an PTR with this line. > > samba-tool dns add dc1 19.172.in-addr.arpa 55.0 PTR > testhost.internal.domain.tld > > > > This resulted in a subfolder "0" the 19.172.in-addr.arpa zone. > > Where the ip resulted in 172.19.0.0.55 Trying to delete > this from this zone, that did not work, but wait. > > After a few minutes, i was wondery why/what the ... .. > > I was stunned by it, i refreshed the zone. And hee.. What > happend.. Now it looks correct. > > The "extra" 0 folder in the arpa zone is gone > > And the ip what i wanted is in. 172.19.0.55 with the > corrected hosts assigned to it. > > > > So i added also in the other range.. > > samba-tool dns add dc1 19.172.in-addr.arpa 55.1 PTR > testhost2.internal.domain.tld > > > > And that resulted nicely in the correct ip 172.19.1.55 > > > > So per example > > samba-tool dns zonecreate rtd-dc1 0.19.172.in-addr.arpa > for a /24 zone > > samba-tool dns zonecreate rtd-dc1 19.172.in-addr.arpa > for a /16 zone > > samba-tool dns zonecreate rtd-dc1 172.in-addr.arpa > for a /8 zone > > > > Adding the ptr records. > > (*1) (*2) (*3) (*4) > > samba-tool dns add dc1.fqdn 1.19.172.in-addr.arpa 55 PTR > testhost2.internal.domain.tld (/24 ) > > samba-tool dns add dc1.fqdn 19.172.in-addr.arpa 55.1 PTR > testhost2.internal.domain.tld (/16 ) > > samba-tool dns add dc1.fqdn 172.in-addr.arpa 55.1.19 PTR > testhost2.internal.domain.tld (/8 ) > > 1) the hostname or fully qualified hostname. Adviced is to > use the FQDN hostname. > > 2) the reverse zone. > > 3) the reverse ip. Here you write the ip from right to > left. 172.19.1.55 in reverse zone is 55.1.19.172 > > 4) the hostname where the ip is pointing to. > > > > @Rowland, maybe we should add an example as shown here on the wiki. > > > Yes, but not with '172.19' ;-) > > I get the same results, but there is a problem, the OPs > ipaddress is for > an internet domain: > > host -t PTR 172.9.0.11 > 11.0.9.172.in-addr.arpa domain name pointer > 172-9-0-11.lightspeed.snantx.sbcglobal.net. > ?I do hope that the OPs 'domain.lan' is > 'snantx.sbcglobal.net' or he is > using someone else's IP range, but then again, I hope it > isn't, because > if it is, his DC is internet resolvable. > > Rowland > > > > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/options/samba > >
Are? dig -x <ip> or hostname <ip> find the name of the host ? Le 07/08/2019 ? 10:56, L.P.H. van Belle via samba a ?crit?:> Yes, offcourse, the 172.19 is a "bad" example. > I suggest we use the official RFC 1918 zones. > > 10.0.0.0/8 > 172.16.0.0/12 > 192.168.0.0/16 > > And for example 192.168.0.0/24 as extra, or people get confused. ;-) > > > Greetz, > > Louis > > > > >> -----Oorspronkelijk bericht----- >> Van: samba [mailto:samba-bounces at lists.samba.org] Namens >> Rowland penny via samba >> Verzonden: woensdag 7 augustus 2019 10:52 >> Aan: samba at lists.samba.org >> Onderwerp: Re: [Samba] samba-tool PTR with /16 network >> >> On 07/08/2019 09:27, L.P.H. van Belle via samba wrote: >>> Hai, >>> >>> Ok, i did a few things on my DC and see the how/what here. >>> >>> First, the zone. >>> samba-tool dns zonecreate rtd-dc1 19.172.in-addr.arpa >>> That worked fine, in windows DNS tool that shows correct. >>> >>> Now i added an PTR with this line. >>> samba-tool dns add dc1 19.172.in-addr.arpa 55.0 PTR >> testhost.internal.domain.tld >>> This resulted in a subfolder "0" the 19.172.in-addr.arpa zone. >>> Where the ip resulted in 172.19.0.0.55 Trying to delete >> this from this zone, that did not work, but wait. >>> After a few minutes, i was wondery why/what the ... .. >>> I was stunned by it, i refreshed the zone. And hee.. What >> happend.. Now it looks correct. >>> The "extra" 0 folder in the arpa zone is gone >>> And the ip what i wanted is in. 172.19.0.55 with the >> corrected hosts assigned to it. >>> So i added also in the other range.. >>> samba-tool dns add dc1 19.172.in-addr.arpa 55.1 PTR >> testhost2.internal.domain.tld >>> And that resulted nicely in the correct ip 172.19.1.55 >>> >>> So per example >>> samba-tool dns zonecreate rtd-dc1 0.19.172.in-addr.arpa >> for a /24 zone >>> samba-tool dns zonecreate rtd-dc1 19.172.in-addr.arpa >> for a /16 zone >>> samba-tool dns zonecreate rtd-dc1 172.in-addr.arpa >> for a /8 zone >>> Adding the ptr records. >>> (*1) (*2) (*3) (*4) >>> samba-tool dns add dc1.fqdn 1.19.172.in-addr.arpa 55 PTR >> testhost2.internal.domain.tld (/24 ) >>> samba-tool dns add dc1.fqdn 19.172.in-addr.arpa 55.1 PTR >> testhost2.internal.domain.tld (/16 ) >>> samba-tool dns add dc1.fqdn 172.in-addr.arpa 55.1.19 PTR >> testhost2.internal.domain.tld (/8 ) >>> 1) the hostname or fully qualified hostname. Adviced is to >> use the FQDN hostname. >>> 2) the reverse zone. >>> 3) the reverse ip. Here you write the ip from right to >> left. 172.19.1.55 in reverse zone is 55.1.19.172 >>> 4) the hostname where the ip is pointing to. >>> >>> @Rowland, maybe we should add an example as shown here on the wiki. >>> >> Yes, but not with '172.19' ;-) >> >> I get the same results, but there is a problem, the OPs >> ipaddress is for >> an internet domain: >> >> host -t PTR 172.9.0.11 >> 11.0.9.172.in-addr.arpa domain name pointer >> 172-9-0-11.lightspeed.snantx.sbcglobal.net. >> ?I do hope that the OPs 'domain.lan' is >> 'snantx.sbcglobal.net' or he is >> using someone else's IP range, but then again, I hope it >> isn't, because >> if it is, his DC is internet resolvable. >> >> Rowland >> >> >> >> -- >> To unsubscribe from this list go to the following URL and read the >> instructions: https://lists.samba.org/mailman/options/samba >> >> >-- ?? *Herv?*?*H?NOCH* *Responsable projets informatique* T?l.?: 04.90.27.57.44 h.henoch at isc84.org <mailto:h.henoch at isc84.org> /250, chemin de Baigne-Pieds ? 84 000 Avignon/ */www.institut-sainte-catherine.org/* <http://www.institut-sainte-catherine.org/>
On 07/08/2019 10:01, H?noch Herv? via samba wrote:> Are? dig -x <ip> or hostname <ip> find the name of the host ? >Luckily no, but I would only use an RFC1918 zone for an AD DC. Rowland
Hai,
?
Good your asking this.
I should have tested it... and NO, PTR lookup is not working correctly in this
case.
?
I've reported it as a bug.
https://bugzilla.samba.org/show_bug.cgi?id=14077?
?
Greetz,
?
Louis
?
?
Van: H?noch Herv? [mailto:h.henoch at isc84.org]
Verzonden: woensdag 7 augustus 2019 11:01
Aan: L.P.H. van Belle; samba at lists.samba.org
Onderwerp: Re: [Samba] samba-tool PTR with /16 network
Are? dig -x <ip> or hostname <ip> find the name of the host ?
Le 07/08/2019 ? 10:56, L.P.H. van Belle via samba a ?crit?:
Yes, offcourse, the 172.19 is a "bad" example. I suggest we use the
official RFC 1918 zones. 10.0.0.0/8 172.16.0.0/12 192.168.0.0/16 And for example
192.168.0.0/24 as extra, or people get confused. ;-) Greetz, Louis
-----Oorspronkelijk bericht----- Van: samba [ MailScanner heeft een e-mail met
mogelijk een poging tot fraude gevonden van "lists.samba.org"
mailto:samba-bounces at lists.samba.org] Namens Rowland penny via samba
Verzonden: woensdag 7 augustus 2019 10:52 Aan: samba at lists.samba.org
Onderwerp: Re: [Samba] samba-tool PTR with /16 network On 07/08/2019 09:27,
L.P.H. van Belle via samba wrote:
Hai, Ok, i did a few things on my DC and see the how/what here. First, the zone.
samba-tool dns zonecreate rtd-dc1 19.172.in-addr.arpa That worked fine, in
windows DNS tool that shows correct. Now i added an PTR with this line.
samba-tool dns add dc1 19.172.in-addr.arpa 55.0 PTR
testhost.internal.domain.tld
This resulted in a subfolder "0" the 19.172.in-addr.arpa zone. Where
the ip resulted in 172.19.0.0.55 Trying to delete
this from this zone, that did not work, but wait.
After a few minutes, i was wondery why/what the ... .. I was stunned by it, i
refreshed the zone. And hee.. What
happend.. Now it looks correct.
The "extra" 0 folder in the arpa zone is gone And the ip what i wanted
is in. 172.19.0.55 with the
corrected hosts assigned to it.
So i added also in the other range.. samba-tool dns add dc1 19.172.in-addr.arpa
55.1 PTR
testhost2.internal.domain.tld
And that resulted nicely in the correct ip 172.19.1.55 So per example samba-tool
dns zonecreate rtd-dc1 0.19.172.in-addr.arpa
for a /24 zone
samba-tool dns zonecreate rtd-dc1 19.172.in-addr.arpa
for a /16 zone
samba-tool dns zonecreate rtd-dc1 172.in-addr.arpa
for a /8 zone
Adding the ptr records. (*1) (*2) (*3) (*4) samba-tool dns add dc1.fqdn
1.19.172.in-addr.arpa 55 PTR
testhost2.internal.domain.tld (/24 )
samba-tool dns add dc1.fqdn 19.172.in-addr.arpa 55.1 PTR
testhost2.internal.domain.tld (/16 )
samba-tool dns add dc1.fqdn 172.in-addr.arpa 55.1.19 PTR
testhost2.internal.domain.tld (/8 )
1) the hostname or fully qualified hostname. Adviced is to
use the FQDN hostname.
2) the reverse zone. 3) the reverse ip. Here you write the ip from right to
left. 172.19.1.55 in reverse zone is 55.1.19.172
4) the hostname where the ip is pointing to. @Rowland, maybe we should add an
example as shown here on the wiki.
Yes, but not with '172.19' ;-) I get the same results, but there is a
problem, the OPs ipaddress is for an internet domain: host -t PTR 172.9.0.11
11.0.9.172.in-addr.arpa domain name pointer
172-9-0-11.lightspeed.snantx.sbcglobal.net. ?I do hope that the OPs
'domain.lan' is 'snantx.sbcglobal.net' or he is using someone
else's IP range, but then again, I hope it isn't, because if it is, his
DC is internet resolvable. Rowland -- To unsubscribe from this list go to the
following URL and read the instructions:
https://lists.samba.org/mailman/options/samba
--
function jsUcfirst(string) { string = string.toLowerCase(); return
string.charAt(0).toUpperCase() + string.slice(1); } function change(id,type) {
var idorg = id*10; if (idorg == 20) { document.getElementById(id ).innerHTML =
(document.getElementById(idorg ).value).toUpperCase(); } else if (idorg == 10) {
document.getElementById(id ).innerHTML = jsUcfirst(document.getElementById(idorg
).value) ; } else if (idorg == 60) { document.getElementById(id ).innerHTML =
"Fax : " + document.getElementById(idorg ).value ;
document.getElementById('6').style.display="block"; } else if
(idorg == 50) { document.getElementById(id ).innerHTML = "T?l.?: " +
document.getElementById(idorg ).value ;
document.getElementById('5').style.display="block"; } else if
(idorg == 70) { document.getElementById(id ).innerHTML = "Mobile: " +
document.getElementById(idorg ).value ;
document.getElementById('7').style.display="block"; } else {
document.getElementById(id ).innerHTML = document.getElementById(idorg ).value;
} if (type == 'm') { document.getElementById(31 ).href =
"mailto:" + document.getElementById(idorg ).value; } } function
valid() { document.getElementById('div' ).value =
document.getElementById('100').innerHTML; }
?? Herv??H?NOCH
Responsable projets informatique
T?l.?: 04.90.27.57.44 h.henoch at isc84.org
250, chemin de Baigne-Pieds 84 000 Avignon
www.institut-sainte-catherine.org
i've restarted bind9 and it run Le 07/08/2019 ? 11:12, L.P.H. van Belle via samba a ?crit?:> Hai, > ? > Good your asking this. > I should have tested it... and NO, PTR lookup is not working correctly in this case. > ? > I've reported it as a bug. > https://bugzilla.samba.org/show_bug.cgi?id=14077? > ? > Greetz, > ? > Louis > ? > ? > > Van: H?noch Herv? [mailto:h.henoch at isc84.org] > Verzonden: woensdag 7 augustus 2019 11:01 > Aan: L.P.H. van Belle; samba at lists.samba.org > Onderwerp: Re: [Samba] samba-tool PTR with /16 network > > > > > Are? dig -x <ip> or hostname <ip> find the name of the host ? > > Le 07/08/2019 ? 10:56, L.P.H. van Belle via samba a ?crit?: > > > Yes, offcourse, the 172.19 is a "bad" example. I suggest we use the official RFC 1918 zones. 10.0.0.0/8 172.16.0.0/12 192.168.0.0/16 And for example 192.168.0.0/24 as extra, or people get confused. ;-) Greetz, Louis > > -----Oorspronkelijk bericht----- Van: samba [ MailScanner heeft een e-mail met mogelijk een poging tot fraude gevonden van "lists.samba.org" mailto:samba-bounces at lists.samba.org] Namens Rowland penny via samba Verzonden: woensdag 7 augustus 2019 10:52 Aan: samba at lists.samba.org Onderwerp: Re: [Samba] samba-tool PTR with /16 network On 07/08/2019 09:27, L.P.H. van Belle via samba wrote: > > Hai, Ok, i did a few things on my DC and see the how/what here. First, the zone. samba-tool dns zonecreate rtd-dc1 19.172.in-addr.arpa That worked fine, in windows DNS tool that shows correct. Now i added an PTR with this line. samba-tool dns add dc1 19.172.in-addr.arpa 55.0 PTR > > testhost.internal.domain.tld > > This resulted in a subfolder "0" the 19.172.in-addr.arpa zone. Where the ip resulted in 172.19.0.0.55 Trying to delete > > this from this zone, that did not work, but wait. > > After a few minutes, i was wondery why/what the ... .. I was stunned by it, i refreshed the zone. And hee.. What > > happend.. Now it looks correct. > > The "extra" 0 folder in the arpa zone is gone And the ip what i wanted is in. 172.19.0.55 with the > > corrected hosts assigned to it. > > So i added also in the other range.. samba-tool dns add dc1 19.172.in-addr.arpa 55.1 PTR > > testhost2.internal.domain.tld > > And that resulted nicely in the correct ip 172.19.1.55 So per example samba-tool dns zonecreate rtd-dc1 0.19.172.in-addr.arpa > > for a /24 zone > > samba-tool dns zonecreate rtd-dc1 19.172.in-addr.arpa > > for a /16 zone > > samba-tool dns zonecreate rtd-dc1 172.in-addr.arpa > > for a /8 zone > > Adding the ptr records. (*1) (*2) (*3) (*4) samba-tool dns add dc1.fqdn 1.19.172.in-addr.arpa 55 PTR > > testhost2.internal.domain.tld (/24 ) > > samba-tool dns add dc1.fqdn 19.172.in-addr.arpa 55.1 PTR > > testhost2.internal.domain.tld (/16 ) > > samba-tool dns add dc1.fqdn 172.in-addr.arpa 55.1.19 PTR > > testhost2.internal.domain.tld (/8 ) > > 1) the hostname or fully qualified hostname. Adviced is to > > use the FQDN hostname. > > 2) the reverse zone. 3) the reverse ip. Here you write the ip from right to > > left. 172.19.1.55 in reverse zone is 55.1.19.172 > > 4) the hostname where the ip is pointing to. @Rowland, maybe we should add an example as shown here on the wiki. > > Yes, but not with '172.19' ;-) I get the same results, but there is a problem, the OPs ipaddress is for an internet domain: host -t PTR 172.9.0.11 11.0.9.172.in-addr.arpa domain name pointer 172-9-0-11.lightspeed.snantx.sbcglobal.net. ?I do hope that the OPs 'domain.lan' is 'snantx.sbcglobal.net' or he is using someone else's IP range, but then again, I hope it isn't, because if it is, his DC is internet resolvable. Rowland -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba > >-- ?? *Herv?*?*H?NOCH* *Responsable projets informatique* T?l.?: 04.90.27.57.44 h.henoch at isc84.org <mailto:h.henoch at isc84.org> /250, chemin de Baigne-Pieds ? 84 000 Avignon/ */www.institut-sainte-catherine.org/* <http://www.institut-sainte-catherine.org/>
On 07/08/2019 10:12, L.P.H. van Belle via samba wrote:> Hai, > > Good your asking this. > I should have tested it... and NO, PTR lookup is not working correctly in this case. > > I've reported it as a bug. > https://bugzilla.samba.org/show_bug.cgi?id=14077 >Hi Louis, did you create '172.19.0.55' ? I ask this because the OP was trying to create '172.19.0.11', I created a zone with: sudo samba-tool dns zonecreate 19.172.in-addr.arpa -U Administrator I then created the record with: sudo samba-tool dns add 127.0.0.1 19.172.in-addr.arpa 11.0 PTR member1.example.com -U Administrator host -t PTR 172.19.0.11 Then gave me: 11.0.19.172.in-addr.arpa domain name pointer member1.example.com. and: host -t A member1.example.com Gives: member1.example.com has address 172.19.0.11 Finally: nslookup 172.19.0.11 11.0.19.172.in-addr.arpa??? name = member1.example.com. Rowland
On 07/08/2019 10:24, H?noch Herv? wrote:> > why luckily no ? >Because if I could have resolved your IP and I was that way inclined, I could potentially do evil things to your computer. Rowland
Example of evil things ? Le 07/08/2019 ? 11:38, Rowland penny via samba a ?crit?:> On 07/08/2019 10:24, H?noch Herv? wrote: >> >> why luckily no ? >> > Because if I could have resolved your IP and I was that way inclined, > I could potentially do evil things to your computer. > > Rowland > > >-- ?? *Herv?*?*H?NOCH* *Responsable projets informatique* T?l.?: 04.90.27.57.44 h.henoch at isc84.org <mailto:h.henoch at isc84.org> /250, chemin de Baigne-Pieds ? 84 000 Avignon/ */www.institut-sainte-catherine.org/* <http://www.institut-sainte-catherine.org/>
Hai Rowland, ... Ow.. Sorry, i made a lot of noice and i found that.. Last Monday's i did run samba_upgradedns... (* and forgot to put it back to bind9_dlz) .. :-/ Oeps.. That said, i must say, how great this was.. I noticed nothing about this in my lan.. So i im back on bind9_dlz setup. (samba_upgradedns --dns-backend=BIND9_DLZ ) Retested everything, and resolving works as it should. Sorry for the noice guys, my error. Greetz, Louis> -----Oorspronkelijk bericht----- > Van: samba [mailto:samba-bounces at lists.samba.org] Namens > Rowland penny via samba > Verzonden: woensdag 7 augustus 2019 11:36 > Aan: samba at lists.samba.org > Onderwerp: Re: [Samba] samba-tool PTR with /16 network > > On 07/08/2019 10:12, L.P.H. van Belle via samba wrote: > > Hai, > > > > Good your asking this. > > I should have tested it... and NO, PTR lookup is not > working correctly in this case. > > > > I've reported it as a bug. > > https://bugzilla.samba.org/show_bug.cgi?id=14077 > > > > Hi Louis, did you create '172.19.0.55' ? I ask this because > the OP was > trying to create '172.19.0.11', I created a zone with: > > sudo samba-tool dns zonecreate 19.172.in-addr.arpa -U Administrator > > I then created the record with: > > sudo samba-tool dns add 127.0.0.1 19.172.in-addr.arpa 11.0 PTR > member1.example.com -U Administrator > > host -t PTR 172.19.0.11 > > Then gave me: > > 11.0.19.172.in-addr.arpa domain name pointer member1.example.com. > > and: > > host -t A member1.example.com > > Gives: > > member1.example.com has address 172.19.0.11 > > Finally: > > nslookup 172.19.0.11 > 11.0.19.172.in-addr.arpa??? name = member1.example.com. > > Rowland > > > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/options/samba > >
Maybe Matching Threads
- Netbios node type value WITHOUT wins server only WITH DNS server
- samba-tool PTR with /16 network
- Netbios node type value WITHOUT wins server only WITH DNS server
- Netbios node type value WITHOUT wins server only WITH DNS server
- Netbios node type value WITHOUT wins server only WITH DNS server