<div dir="ltr"><div>My requirement is when I dig any DNS first it goes to the hosts file in which all the host entry in linux the host file path is <b>/etc/hosts. </b>First check the host entry if the DNS found in the Host it resolve. If in case the DNS not found in the host Entry it redirect to the google the DNS of the goofle is <a href="http://8.8.8.8.So">8.8.8.8.So</a> this is my requirement. I hope this is much clear.</div><div><br></div><div><br></div><br clear="all"><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">
  <table style="font-family:Aktiv Grotesk,sans-serif;color:#9a9dbc;max-width:500px" cellspacing="0" cellpadding="0" border="0">
    <tbody>
      <tr>
        <td colspan="2" style="padding-bottom:4px;border-bottom:1px solid #183188" width="500">
          <span style="font-size:14pt;color:#183188;font-family:Aktiv Grotesk,sans-serif"><strong>Raghvendra Choudhary</strong></span><span><br></span>
          <span style="font-size:10pt;color:#9a9dbc">DevOps Engineer<span> | </span></span>
          <span>
            <a href="https://digivalet.com" rel="noopener" style="font-size:10pt;color:#183188!important;text-decoration:none;font-weight:bold" target="_blank"><span style="font-size:10pt;color:#183188!important;text-decoration:none;font-weight:bold">www.digivalet.com</span></a>
          </span>
        </td>
      </tr>
      <tr>
        <td style="padding-top:2px" width="150">
          <p style="padding:0px;margin:0px">
            <img alt="Logo" style="max-width:140px;height:auto;border:0" src="https://signature.digivalet.com/digivaletlogo.png" width="140" border="0">
          </p>
        </td>
        <td style="padding-top:5px">
          <p style="padding-bottom:2px;margin-bottom:0px;padding-top:0px;margin-top:0px;line-height:10pt">
            <span style="font-size:9pt;line-height:10pt;color:#9a9dbc;font-weight:bold">T:</span>
            <span style="font-size:9pt;line-height:10pt;color:#0a1250"> +91.731.6667891</span>
          </p>
          <p style="padding-bottom:2px;margin-bottom:0px;padding-top:0px;margin-top:0px;line-height:10pt">
            <span style="font-size:9pt;line-height:10pt;color:#9a9dbc;font-weight:bold">M:</span>
            <span style="font-size:9pt;line-height:10pt;color:#0a1250">+91.96307.90947</span>
          </p>
          <p style="padding-bottom:2px;margin-bottom:0px;padding-top:0px;margin-top:0px;line-height:10pt">
            <span style="font-size:9pt;line-height:10pt;color:#9a9dbc;font-weight:bold">E:</span>
            <a href="mailto:raghvendra.choudhary@digivalet.com" style="text-decoration:none;font-size:9pt;line-height:10pt;color:#0a1250" target="_blank"><span style="text-decoration:none;font-size:9pt;line-height:10pt;color:#0a1250"> raghvendra.choudhary@digivalet.com</span></a>
          </p>

          <p style="margin-bottom:0px;padding-bottom:0px;padding-top:0px;margin-top:4px"></p>
        </td>
      </tr>
      <tr>
        <td colspan="2" style="padding-top:5px;margin-bottom:0">
          <img alt="Banner" style="max-width:500px;height:auto;border:0" src="https://signature.digivalet.com/emailbanner.png" width="500" border="0">
        </td>
      </tr>
    </tbody>
  </table>

</div></div></div><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Nov 17, 2022 at 1:13 PM Michael Hallager via Pdns-users <<a href="mailto:pdns-users@mailman.powerdns.com">pdns-users@mailman.powerdns.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Your request is very vague. When posting to a free forum like a mailing <br>
list you are far more likely to get a useful response by giving tangible <br>
information on what you are doing, what you wish to achieve and what you <br>
have done so far to diagnose the issue.<br>
<br>
On 2022-11-17 18:54, Raghvendra Choudhary via Pdns-users wrote:<br>
> Hi Team,<br>
> <br>
> I already installed the poweDNS  admin in the my local machine. My<br>
> requirement is to Configure Powerdns and check if the domain which is<br>
> not present in Powerdns is transferring the traffic to 8.8.8.8 .<br>
> <br>
> I am unable to find a resolution and I am not aware about how to use<br>
> the powerDNS.<br>
> <br>
> Please advise and do the needful.<br>
> <br>
> Waiting for your reply.<br>
> <br>
>  Raghvendra Choudhary<br>
>  DevOps Engineer | <a href="http://www.digivalet.com" rel="noreferrer" target="_blank">www.digivalet.com</a> [1]<br>
> <br>
>  T:  +91.731.6667891<br>
> <br>
>  M: +91.96307.90947<br>
> <br>
>  E:  <a href="mailto:raghvendra.choudhary@digivalet.com" target="_blank">raghvendra.choudhary@digivalet.com</a><br>
> <br>
> <br>
> <br>
> Links:<br>
> ------<br>
> [1] <a href="https://digivalet.com" rel="noreferrer" target="_blank">https://digivalet.com</a><br>
> _______________________________________________<br>
> Pdns-users mailing list<br>
> <a href="mailto:Pdns-users@mailman.powerdns.com" target="_blank">Pdns-users@mailman.powerdns.com</a><br>
> <a href="https://mailman.powerdns.com/mailman/listinfo/pdns-users" rel="noreferrer" target="_blank">https://mailman.powerdns.com/mailman/listinfo/pdns-users</a><br>
<br>
-- <br>
Net Trust Ltd<br>
Internet Servers and Network Systems Administration<br>
p: (06) 374 0880 | (09) 839 1000<br>
m: 021 963 878<br>
e: <a href="mailto:michael@nettrust.nz" target="_blank">michael@nettrust.nz</a><br>
w: <a href="http://nettrust.nz" rel="noreferrer" target="_blank">nettrust.nz</a><br>
_______________________________________________<br>
Pdns-users mailing list<br>
<a href="mailto:Pdns-users@mailman.powerdns.com" target="_blank">Pdns-users@mailman.powerdns.com</a><br>
<a href="https://mailman.powerdns.com/mailman/listinfo/pdns-users" rel="noreferrer" target="_blank">https://mailman.powerdns.com/mailman/listinfo/pdns-users</a><br>
</blockquote></div>