bind 9.11.2 - domain and subdomain with one zone does not work

Matus UHLAR - fantomas uhlar at fantomas.sk
Fri Apr 3 14:35:57 UTC 2020


On 03.04.20 14:20, David Alexandre M. de Carvalho wrote:
>Where can I find about alternatives to point 2?
>I have a windows subdomain configured in that way, never realized there was a better way.

if you want to have subdomain with different set of nameservers, you should
put it into another zone and it should have different SOA as long.
so, "sub" would  have NS records in "test.local." but "sub.test.local" would
have own zone, own file, containing SOA, NS, MX etc records.

>>>> why so much complexity to begin with?
>>>>
>>>>t1       A  127.0.0.3
>>>>sub.t30  A  127.0.0.2
>>
>> On 03.04.20 11:53, mail-list-users at materna.de wrote:
>>>-----------------------
>>>Well, in first place to make it human readable, if needed to look into the zone.
>>
>> well
>> 1. the above is more readablt than whay you proposed.
>>
>> 2. delegating subdomain (sub) to other servers via NS records and setting
>>    any other records in the zone is a bad idea.
>>
>> 3. putting localhost into any domain is useless and I discourage you from
>>    doing that
>>
>>>For some subdomains we would have entries for the subdomain itself, like couple NS,TXT,A,CNAME,SRV etc.
>>>So with these thoughts, the documentation gives this as a valid option and it
>>>worked in small scale on the testsystem, so we decieded to go this way.
>>>If this needs to be changed, I need a reason besides of 'that is this way more easy',
>>>because these zones get generated from an automated system and I need an
>>>argument to get a permission for a change request.
-- 
Matus UHLAR - fantomas, uhlar at fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
- Have you got anything without Spam in it?
- Well, there's Spam egg sausage and Spam, that's not got much Spam in it.


More information about the bind-users mailing list