I was playing with the DNS yast server module. I created a test domain,
entered my machine record, and then tested the host command, both direct
and reverse. Reverse resolution did not work, the reverse zone file was not
created (but the reverse zone file for 127.0.0.* was created).
Did I do something wrong, or simply YaST doesn’t create it?
–
Cheers / Saludos,
Carlos E. R.
(from 11.4 x86_64 “Celadon” at Telcontar)
I haven’t tried it, and doubt there is much purpose to creating a Reverse Lookup Zone for the localhost address range.
Recommend you test using a normal private or public range instead.
If a “proper” address has already been assigned to your machine, you can try using that, or bind a new address to your NIC.
Or, you can point your test Domain to another suitable machine instead of your own machine… I frequently do that (create custom Domain names not publicly registered) for my own private use when I setup Dev environments… Both for regular use as well as to test software using FQDNs.
On 2012-03-09 01:56, tsu2 wrote:
>
> I haven’t tried it, and doubt there is much purpose to creating a
> Reverse Lookup Zone for the localhost address range.
The localhost is created with both direct and reverse zone files (not my
doing). It is the normal private zone I created that did not.
The question is whether this is a yast fault, or mine. I know how to do it
manually, I just want to know if the yast dns server module should do it.
–
Cheers / Saludos,
Carlos E. R.
(from 11.4 x86_64 “Celadon” at Telcontar)
Don’t know if what should be standard practice for YAST, but AFAIK configuring zones all DNS servers do not create reverse lookup files by default, you need to create them separately and in addition to the original zone file(s).
On 2012-03-09 23:26, tsu2 wrote:
>
> Don’t know if what should be standard practice for YAST, but AFAIK
> configuring zones all DNS servers do not create reverse lookup files by
> default, you need to create them separately and in addition to the
> original zone file(s).
Yes, but that’s my question.
When I create a zone manually I write both direct and reverse zone files.
But YaST did not, and I’m asking whether I did something wrong, or is this
a YaST feature/bug.
I’m not asking how to do it. I’m asking whether YaST does or does not do it.
–
Cheers / Saludos,
Carlos E. R.
(from 11.4 x86_64 “Celadon” at Telcontar)
On 03/09/2012 01:58 PM, Carlos E. R. wrote:
> On 2012-03-09 23:26, tsu2 wrote:
>>
>> Don’t know if what should be standard practice for YAST, but AFAIK
>> configuring zones all DNS servers do not create reverse lookup files by
>> default, you need to create them separately and in addition to the
>> original zone file(s).
>
> Yes, but that’s my question.
>
> When I create a zone manually I write both direct and reverse zone files.
> But YaST did not, and I’m asking whether I did something wrong, or is this
> a YaST feature/bug.
>
> I’m not asking how to do it. I’m asking whether YaST does or does not do it.
I wouldn’t necessarily expect it to for the reason that there are times
when you want an address to have multiple A records, for instance, you
may use the same server as a DNS server, a web server and a mail server.
You might call it ns.domain, www.domain and smtp.domain. A forward
record may have many names but a reverse record points to a specific
name. If YaST automatically wrote the reverse record that last one done
would overwrite the record. That may or may not be what you want.
I don’t manage my dns servers via YaST, so I’m flying blind here, but a
check box asking whether to create the reverse entry would be a nice
feature if it’s not already there. Then a person could decide when they
create the record whether it is appropriate to create the reverse record
too. But I don’t know if that’s in there or not.
On 2012-03-10 19:47, Kevin Miller wrote:
> On 03/09/2012 01:58 PM, Carlos E. R. wrote:
> wouldn’t necessarily expect it to for the reason that there are times
> when you want an address to have multiple A records, for instance, you may
> use the same server as a DNS server, a web server and a mail server.
True.
> You
> might call it ns.domain, www.domain and smtp.domain. A forward record may
> have many names but a reverse record points to a specific name. If YaST
> automatically wrote the reverse record that last one done would overwrite
> the record. That may or may not be what you want.
Ah, that’s a reason. Interesting.
> I don’t manage my dns servers via YaST, so I’m flying blind here, but a
> check box asking whether to create the reverse entry would be a nice
> feature if it’s not already there. Then a person could decide when they
> create the record whether it is appropriate to create the reverse record
> too. But I don’t know if that’s in there or not.
It seems a missing feature, then.
–
Cheers / Saludos,
Carlos E. R.
(from 11.4 x86_64 “Celadon” at Telcontar)