[Pdns-users] Configure Powerdns and check if the domain which is not present in Powerdns is tranferring the traffic to 8.8.8.8 .

Raghvendra Choudhary raghvendra.choudhary at digivalet.com
Thu Nov 17 08:01:36 UTC 2022


Hi Michael,

Can you let me know the uses of PowerDNS . Why Power DNS is used. can we
achieved whatever I said in the mail trail.

*Raghvendra Choudhary*
DevOps Engineer | www.digivalet.com <https://digivalet.com>

[image: Logo]

T:  +91.731.6667891

M: +91.96307.90947

E:  raghvendra.choudhary at digivalet.com <raghvendra.choudhary at digivalet.com>

[image: Banner]


On Thu, Nov 17, 2022 at 1:27 PM Michael Hallager <michael at nettrust.nz>
wrote:

> By default Linux will use hosts file first and then DNS servers listed
> in /etc/resolv.conf (If the specific application uses Glibc functions
> for name resolution) but dig is a DNS specific command.
>
> So maybe you want to use the ping command?
>
> At this time your question sounds more like a Linux user question rather
> then a PowerDNS one. If you are an end user host its unlikely you will
> need PowerDNS for anything.
>
> On 2022-11-17 20:46, Raghvendra Choudhary wrote:
> > 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 /etc/hosts.
> > 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 8.8.8.8.So [3] this is my requirement. I hope
> > this is much clear.
> >
> >  Raghvendra Choudhary
> >  DevOps Engineer | www.digivalet.com [4]
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.powerdns.com/pipermail/pdns-users/attachments/20221117/b1a60094/attachment-0001.htm>


More information about the Pdns-users mailing list