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.choudh...@digivalet.com <raghvendra.choudh...@digivalet.com> [image: Banner] On Thu, Nov 17, 2022 at 1:27 PM Michael Hallager <mich...@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] >
_______________________________________________ Pdns-users mailing list Pdns-users@mailman.powerdns.com https://mailman.powerdns.com/mailman/listinfo/pdns-users