Need of 2 $ORIGIN Directives
Harshith Mulky
harshith.mulky at outlook.com
Wed Dec 21 12:57:35 UTC 2016
Hello,
We have bind running bind-9.9.4-29.el7.x86_64
We have a domain file with these configurations and we have to build our A records on top of this
$ORIGIN .
$TTL 86400 ; 1 day
atlanta.com IN SOA local.atlanta.com. master.atlanta.com. (
2001062522 ; serial
21600 ; refresh (6 hours)
3600 ; retry (1 hour)
604800 ; expire (1 week)
86400 ; minimum (1 day)
)
NS local.atlanta.com.
NS kabulvm8.atlanta.com.
$ORIGIN atlanta.com.
$TTL 300 ; 5 minutes
local A 127.0.0.1
kabulvm8 A 10.54.49.43
So I wanted to understand some things about this Domain
A. Why are there 2 $ORIGIN directives?
B. Can the above be replaced as below
$ORIGIN atlanta.com.
$TTL 86400 ; 1 day
@ IN SOA local.atlanta.com. master.atlanta.com. (
2001062522 ; serial
21600 ; refresh (6 hours)
3600 ; retry (1 hour)
604800 ; expire (1 week)
86400 ; minimum (1 day)
)
NS local.atlanta.com.
NS kabulvm8.atlanta.com.
;A Records
local A 127.0.0.1
kabulvm8 A 10.54.49.43
Thanks
Harshith
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/bind-users/attachments/20161221/99808218/attachment.html>
More information about the bind-users
mailing list