f



Need of 2 $ORIGIN Directives

--_000_BM1PR01MB0259949E2B362555C074477681930BM1PR01MB0259INDP_
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

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

--_000_BM1PR01MB0259949E2B362555C074477681930BM1PR01MB0259INDP_
Content-Type: text/html; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<html>
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Diso-8859-=
1">
<style type=3D"text/css" style=3D"display:none;"><!-- P {margin-top:0;margi=
n-bottom:0;} --></style>
</head>
<body dir=3D"ltr">
<div id=3D"divtagdefaultwrapper" style=3D"font-size:12pt;color:#000000;font=
-family:Calibri,Arial,Helvetica,sans-serif;" dir=3D"ltr">
<p>Hello,</p>
<p><br>
</p>
<p>We have bind running <span>bind-9.9.4-29.el7.x86_64</span></p>
<p><br>
</p>
<p>We have a domain file with these configurations and we have to build our=
 A records on top of this</p>
<p><br>
</p>
<p>
<table role=3D"table" class=3D"ms-rteTable-default" style=3D"border-collaps=
e: collapse; border: 1px solid rgb(198, 198, 198); table-layout: fixed;" ce=
llspacing=3D"0">
<tbody>
<tr>
<td class=3D"ms-rteTable-default" style=3D"border-collapse: collapse; borde=
r: 1px solid rgb(198, 198, 198); width: 567px;">
<div>$ORIGIN .<br>
$TTL 86400&nbsp; ; 1 day<br>
atlanta.com&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; IN SOA&nbsp; local.at=
lanta.com. master.atlanta.com. (<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp; 2001062522 ; serial<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp; 21600&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ; refresh (6 hours)<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp; 3600&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ; retry (1 hour)<b=
r>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp; 604800&nbsp;&nbsp;&nbsp;&nbsp; ; expire (1 week)<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp; 86400&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ; minimum (1 day)<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp; )<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; NS&nbsp;=
 local.atlanta.com.<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; NS&nbsp;=
 kabulvm8.atlanta.com.<br>
$ORIGIN atlanta.com.<br>
$TTL 300&nbsp;&nbsp;&nbsp; ; 5 minutes<br>
local&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; A&nbsp;&n=
bsp; 127.0.0.1<br>
kabulvm8&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; A&nbsp;&nbsp; 10.54.49.4=
3</div>
<br>
</td>
</tr>
</tbody>
</table>
</p>
<p>So I wanted to understand some things about this Domain</p>
<p><br>
</p>
<p>A. Why are there 2 $ORIGIN directives? <br>
</p>
<p>B. Can the above be replaced as below</p>
<p><br>
</p>
<p>
<table role=3D"table" class=3D"ms-rteTable-default" style=3D"border-collaps=
e:collapse;border:1px solid rgb(198, 198, 198);table-layout:fixed" cellspac=
ing=3D"0">
<tbody>
<tr class=3D"ms-rteTableEvenRow-default" style=3D"border-collapse:collapse;=
border:1px solid rgb(198, 198, 198);background-color:rgba(255, 255, 255, 0.=
85)">
<td class=3D"ms-rteTableEvenCol-default" style=3D"border-collapse:collapse;=
border:1px solid rgb(198, 198, 198);width:561px">
<span>$ORIGIN atlanta.com.<br>
<span>$TTL 86400&nbsp; ; 1 day</span><br>
<div>@ IN SOA&nbsp; local.atlanta.com. master.atlanta.com. (<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp; 2001062522 ; serial<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp; 21600&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ; refresh (6 hours)<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp; 3600&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ; retry (1 hour)<b=
r>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp; 604800&nbsp;&nbsp;&nbsp;&nbsp; ; expire (1 week)<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp; 86400&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ; minimum (1 day)<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp; )<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; NS&nbsp;=
 local.atlanta.com.<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; NS&nbsp;=
 kabulvm8.atlanta.com.</div>
;A Records<br>
<div>local&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; A&nb=
sp;&nbsp; 127.0.0.1<br>
kabulvm8&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; A&nbsp;&nbsp; 10.54.49.4=
3</div>
<br>
</span></td>
</tr>
<tr class=3D"ms-rteTableOddRow-default" style=3D"border-collapse:collapse;b=
order:1px solid rgb(198, 198, 198);background-color:rgba(255, 255, 255, 0.8=
5)">
<td class=3D"ms-rteTableEvenCol-default" style=3D"border-collapse:collapse;=
border:1px solid rgb(198, 198, 198);width:561px" rowspan=3D"1">
<br>
</td>
</tr>
</tbody>
</table>
</p>
<p><br>
</p>
<p>Thanks</p>
<p>Harshith<br>
</p>
</div>
</body>
</html>

--_000_BM1PR01MB0259949E2B362555C074477681930BM1PR01MB0259INDP_--
0
Harshith
12/21/2016 12:57:35 PM
comp.protocols.dns.bind 16245 articles. 1 followers. Post Follow

0 Replies
819 Views

Similar Articles

[PageSpeed] 40

Reply: