[gentoo-user] Re: bind zone.file won't load

2006-03-06 Thread Harry Putnam
Alexander Kirillov [EMAIL PROTECTED] writes: ;BIND DUMP V8 $ORIGIN 10.10.IN-ADDR.ARPA. 0 3600IN SOA baikal.iproducts.test. root.baikal.iproducts.test. ( 20050421 3600 900 360 3600 );Cl=5 3600IN NS baikal.iproducts.test. ;Cl=5

Re: [gentoo-user] Re: bind zone.file won't load

2006-03-05 Thread Alexander Kirillov
;BIND DUMP V8 $ORIGIN 10.10.IN-ADDR.ARPA. 0 3600IN SOA baikal.iproducts.test. root.baikal.iproducts.test. ( Alexander, I meant to ask in my reply what the 3600 is all about? My study of DNS and Bind hasn't discussed that field yet. Each RR can have a TTL as the second

Re: [gentoo-user] Re: bind zone.file won't load

2006-03-05 Thread Alexander Kirillov
Here's a reverse zone file for my home network. It's 10.10.0/24 but you'll figure out how to tailor this to your needs. Yikes I promised to post my reverse file based on your example and then mailed my response without including it. You saw the failure: nslookup 192.168.1.2 Server:

[gentoo-user] Re: bind zone.file won't load

2006-03-05 Thread Harry Putnam
Alexander Kirillov [EMAIL PROTECTED] writes: What's in your named.conf? Should be something like this: zone local.lan IN { ... }; zone 0.168.192.in-addr.arpa IN { ... }; zone 1.168.192.in-addr.arpa IN { ... }; options { directory /var/bind;

[gentoo-user] Re: bind zone.file won't load

2006-03-05 Thread Harry Putnam
Jo Are Rosland [EMAIL PROTECTED] writes: - Where names are used -- eg. the 'key' field of an 'IN A' entry, or the 'value' field of an 'IN PTR' entry -- you may specify the full name by ending it with a '.'. Names with no '.' at the end have the origin appended. Now, if you look at

[gentoo-user] Re: bind zone.file won't load

2006-03-05 Thread Harry Putnam
Alexander Kirillov [EMAIL PROTECTED] writes: What's in your named.conf? Should be something like this: Just posted a few minutes ago... but I noticed I wasn't really following your example thoroughly. Now trying this db.192.168.1 Still fails miserably: $TTL 1D $ORIGIN 168.192.IN-ADDR.ARPA.

Re: [gentoo-user] Re: bind zone.file won't load

2006-03-05 Thread Alexander Kirillov
What's in your named.conf? Should be something like this: Just posted a few minutes ago... but I noticed I wasn't really following your example thoroughly. Now trying this db.192.168.1 Still fails miserably: $TTL 1D $ORIGIN 168.192.IN-ADDR.ARPA. 0 IN SOA reader.local.lan.

[gentoo-user] Re: bind zone.file won't load

2006-03-05 Thread Harry Putnam
Alexander Kirillov [EMAIL PROTECTED] writes: What's in your named.conf? Should be something like this: Just posted a few minutes ago... but I noticed I wasn't really following your example thoroughly. Now trying this db.192.168.1 Still fails miserably: $TTL 1D $ORIGIN 168.192.IN-ADDR.ARPA.

Re: [gentoo-user] Re: bind zone.file won't load

2006-03-05 Thread Jo Are Rosland
On 05.03, Harry Putnam wrote: Following Alexanders example I tried to redefine $ORIGIN near the top since as you point out `@' contains whatever is in named.conf to start. $TTL 1D $ORIGIN 0.168.192.IN-ADDR.ARPA. ;; RESET ORIGIN HERE SO THAT ;;THE SOA line won't be rejected for being `out

[gentoo-user] Re: bind zone.file won't load

2006-03-05 Thread Harry Putnam
Alexander Kirillov [EMAIL PROTECTED] writes: Make it 2 separate files for each of the reverse zones. Each with its own SOA record. Emerge bind with doc flag and read into Adminstrators Reference Manual Do you have any idea where it can be found following: USE=doc emerge -v bind? equery files

[gentoo-user] Re: bind zone.file won't load

2006-03-05 Thread Harry Putnam
Jo Are Rosland [EMAIL PROTECTED] writes: And again: it's really no reason why you can't put all of this into one zone instead. H... that was what I needed. Many thanks for hanging in there. I managed to confuse myself quite a lot on this. I thought to do that (go up one level and use 1

Re: [gentoo-user] Re: bind zone.file won't load

2006-03-05 Thread Alexander Kirillov
What is the significance of the zero here: $ORIGIN 168.192.IN-ADDR.ARPA. 0 IN SOA reader.local.lan. reader.reader.local.lan. ( You need to define 2 zones of authority: 0.168.192.IN-ADDR.ARPA. IN SOA ... 1.168.192.IN-ADDR.ARPA. IN SOA ... You may use either of 2 shortcuts: either

[gentoo-user] Re: bind zone.file won't load

2006-03-05 Thread Harry Putnam
Alexander Kirillov [EMAIL PROTECTED] writes: And please be more careful reading the examples and take time to learn the exact meaning of the statements. You need just a few to make it all work and some reading will save you time in the long run. Point taken and thanks for the manual

[gentoo-user] Re: bind zone.file won't load

2006-03-05 Thread Harry Putnam
Jo Are Rosland [EMAIL PROTECTED] writes: Your entries for 'reader' and 'fwobsd' are probably not what you really want. By defining several 'IN A' entries for the same host name, you effectively get bind to serve these addresses in 'round robin' fashion whenever a client looks up that name.

Re: [gentoo-user] Re: bind zone.file won't load

2006-03-05 Thread Alexander Kirillov
Oh and do you see problems with the other solution proposed by Jo Are in this thread? 192.168/16? Not at all. But this is a training exercise, right? I don't need dhcp for 3 hosts on my network either:) -- gentoo-user@gentoo.org mailing list

[gentoo-user] Re: bind zone.file won't load

2006-03-04 Thread Harry Putnam
Alexander Kirillov [EMAIL PROTECTED] writes: Here's a reverse zone file for my home network. It's 10.10.0/24 but you'll figure out how to tailor this to your needs. I think this is not where I'm having the trouble. Just one network for home lan I'm ok with. # cat pri/0.10.10.zone ;BIND

[gentoo-user] Re: bind zone.file won't load

2006-03-04 Thread Harry Putnam
Alexander Kirillov [EMAIL PROTECTED] writes: [...] ;BIND DUMP V8 $ORIGIN 10.10.IN-ADDR.ARPA. 0 3600IN SOA baikal.iproducts.test. root.baikal.iproducts.test. ( Alexander, I meant to ask in my reply what the 3600 is all about? My study of DNS and Bind hasn't discussed that

[gentoo-user] Re: bind zone.file won't load

2006-03-04 Thread Harry Putnam
Alexander Kirillov [EMAIL PROTECTED] writes: Here's a reverse zone file for my home network. It's 10.10.0/24 but you'll figure out how to tailor this to your needs. Taking your example I come up with the zone file posted at the end. It loads with no comment from named. But I still see the

[gentoo-user] Re: bind zone.file won't load

2006-03-04 Thread Harry Putnam
Alexander Kirillov [EMAIL PROTECTED] writes: Here's a reverse zone file for my home network. It's 10.10.0/24 but you'll figure out how to tailor this to your needs. Yikes I promised to post my reverse file based on your example and then mailed my response without including it. You saw the