Mailinglist Archive: opensuse (1239 mails)

< Previous Next >
Re: [opensuse] named reverse zone
Per Jessen said the following on 06/02/2013 07:41 AM:
Anton Aylward wrote:

Me, I'm paranoid.
I could use
23 IN PTR mail
but I chose to use
23 IN PTR mail.antonaylward.com.

Please note the period.
The first only works if you have the named.conf set up correctly while
the latter is more robust.

Uh, the former wouldn't work at all, you have to use the latter. Your
zone file presumably has a $ORIGIN directive :

$ORGIN x.168.192.in-addr.arpa.

This is used for '23' and 'mail'. That'[s why you need to
use 'mail.antonaylward.com.'.

Are you contradicting yourself by showing how my first example could work?

Actually it might depend on what's in the named.config file that references this reverse file. That may give the origin.

lets face it, the forward files can use the short form

mail IN A 192.168.1.23

rather than

mail.antonaylward.com IN A 192.168.1.23

Why? What abbreviations are you using? - "@" - ?

If I have in the config file

zone "antonaylward.com" {
...
}

then the "@" refers to that.
This is the origin unless you over-ride it in the zone file.



**The origin is added to names not ending in a dot**

BUT BUT BUT you have to have the origin set up properly.

This is a 'trick' that ISPs and other places that host domains use. They have a standard forward and standard reverse file because they have a standard config - all the domains they set up and host have exactly the same IP layout (well OK, its the same on each non virtual)((OK they may have many parallel instances as well).





--
How long did the whining go on when KDE2 went on KDE3?

The only universal constant is change. If a species can not adapt it
goes extinct. That's the law of the universe, adapt or die.
-- Billie Walsh, May 18 2013
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse+owner@xxxxxxxxxxxx

< Previous Next >
Follow Ups