[prev in list] [next in list] [prev in thread] [next in thread] 

List:       unbound-users
Subject:    Synthetic/Artificial domain support?
From:       "Guevara, Daniel via Unbound-users" <unbound-users () lists ! nlnetlabs ! nl>
Date:       2021-11-09 1:54:39
Message-ID: 312D2CC8-372A-485E-8D22-C394A9B44559 () corp ! intuit ! net
[Download RAW message or body]

[Attachment #2 (text/plain)]

Hello,

We recently switched to using Unbound instead of DNSMasq to forward DNS requests to \
upstream servers. As a result we were informed that the change ‘broke" AWS EMR \
deployments. Since AWS VPC can be large and instances come and go quickly the \
previous deployments leveraged doing forward and reverse DNS with a synthetic domain \
option: https://serverfault.com/questions/862279/dnsmasq-as-authoritative-dns-server-with-synth-domain


dnsmasq --listen-address=127.0.0.1 --synth-domain=vpc.internal,10.140.0.0/21,ip-

A lookup for an IP in the CIDR block 10.140.0.0/21 will return a name that it \
constructs with the parameters provided (for reverse DNS), it will also work for \
forward look ups.

My question is if there is a similar option for Unbound? I cannot find anything in \
the documentation besides creating a local zone file with all the possible Ips/Names \
configured.

Thanks!
--
Daniel


[Attachment #3 (text/html)]

<html xmlns:v="urn:schemas-microsoft-com:vml" \
xmlns:o="urn:schemas-microsoft-com:office:office" \
xmlns:w="urn:schemas-microsoft-com:office:word" \
xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" \
xmlns="http://www.w3.org/TR/REC-html40"> <head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
	{font-family:"Cambria Math";
	panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	font-size:11.0pt;
	font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:#0563C1;
	text-decoration:underline;}
span.EmailStyle17
	{mso-style-type:personal-compose;
	font-family:"Calibri",sans-serif;
	color:windowtext;}
.MsoChpDefault
	{mso-style-type:export-only;
	font-family:"Calibri",sans-serif;}
@page WordSection1
	{size:8.5in 11.0in;
	margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
	{page:WordSection1;}
--></style>
</head>
<body lang="EN-US" link="#0563C1" vlink="#954F72" style="word-wrap:break-word">
<div class="WordSection1">
<p class="MsoNormal">Hello, <o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal">We recently switched to using Unbound instead of DNSMasq to \
forward DNS requests to upstream servers. As a result we were informed that the \
change ‘broke" AWS EMR deployments. Since AWS VPC can be large and instances come \
and go quickly  the previous deployments leveraged doing forward and reverse DNS with \
a synthetic domain option:<o:p></o:p></p> <p class="MsoNormal"><a \
href="https://serverfault.com/questions/862279/dnsmasq-as-authoritative-dns-server-wit \
h-synth-domain">https://serverfault.com/questions/862279/dnsmasq-as-authoritative-dns-server-with-synth-domain</a><o:p></o:p></p>
 <p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal">dnsmasq --listen-address=127.0.0.1 \
--synth-domain=vpc.internal,10.140.0.0/21,ip-<o:p></o:p></p> <p \
class="MsoNormal"><o:p>&nbsp;</o:p></p> <p class="MsoNormal">A lookup for an IP in \
the CIDR block 10.140.0.0/21 will return a name that it constructs with the \
parameters provided (for reverse DNS), it will also work for forward look \
ups.<o:p></o:p></p> <p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal">My question is if there is a similar option for Unbound? I \
cannot find anything in the documentation besides creating a local zone file with all \
the possible Ips/Names configured. <br>
<br>
Thanks!<o:p></o:p></p>
<div>
<div>
<p class="MsoNormal">--&nbsp;<o:p></o:p></p>
<p class="MsoNormal"><span \
style="font-size:10.0pt;font-family:&quot;Arial&quot;,sans-serif;color:black">Daniel</span><span \
style="font-size:12.0pt;color:black"><o:p></o:p></span></p> </div>
</div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
</body>
</html>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic