<html><head><meta http-equiv="content-type" content="text/html; charset=us-ascii"></head><body style="overflow-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;"><br id="lineBreakAtBeginningOfMessage"><div><br><blockquote type="cite"><div>On 7 May 2025, at 17:03, Nacho Oppo <nachooppo64@gmail.com> wrote:</div><br class="Apple-interchange-newline"><div><div>Hi Frank.<br><br>Another option I considered is creating a program that modifies the<br>/etc/hosts files. With resolv.conf pointing to the internet and the<br>nsswitch with host as file and dns, I'd have it solved. The only thing<br>I need to implement is modifying the Lua records. My problem here is<br>that it's simple for just two servers, but when we have N, things get<br>more complicated.<br></div></div></blockquote><div><br></div>That's another non-optimal solution, which is guaranteed to break.</div><div><br><blockquote type="cite"><div><div><br>What I can't understand is why this configuration worked perfectly for<br>me with one old version of PDNS- pdns-4.1.14-1 (only put two namesever<br>in resolv.conf 127.0.0.1 and 8.8.8.8) ?<br></div></div></blockquote><div><br></div><div><br></div>Please see <a href="https://doc.powerdns.com/authoritative/appendices/EOL.html?highlight=end%20life">https://doc.powerdns.com/authoritative/appendices/EOL.html?highlight=end%20life</a>. Pdns 4.1 went End Of Life before 2021, ages ago.</div><div><br><blockquote type="cite"><div><div>Sorry, I thought it worked when using the nslookup client, but when<br>using dig it stops working<br><br>root@centos# nslookup mario<br>Server: 127.0.0.1<br>Address: 127.0.0.1#53<br><br>Name: mario<br>Address: 194.140.12.111<br><br>root@centos# nslookup kiwazo.be<br>;; Got recursion not available from 127.0.0.1, trying next server<br>Server: 8.8.8.8<br>Address: 8.8.8.8#53<br><br>Non-authoritative answer:<br>Name: kiwazo.be<br>Address: 216.24.57.1<br><br>But with dig<br><br>root@centos# dig mario<br><br>; <<>> DiG 9.8.2rc1-RedHat-9.8.2-0.68.rc1.el6_10.7 <<>> mario<br>;; global options: +cmd<br>;; Got answer:<br>;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 61686<br>;; flags: qr aa rd; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0<br>;; WARNING: recursion requested but not available<br><br>;; QUESTION SECTION:<br>;mario. IN A<br><br>;; ANSWER SECTION:<br>mario. 1 IN A 194.140.12.111<br><br>;; Query time: 12 msec<br>;; SERVER: 127.0.0.1#53(127.0.0.1)<br>;; WHEN: Wed May 7 17:01:35 2025<br>;; MSG SIZE rcvd: 39<br><br>root@centos# dig kiwazo.be<br><br>; <<>> DiG 9.8.2rc1-RedHat-9.8.2-0.68.rc1.el6_10.7 <<>> kiwazo.be<br>;; global options: +cmd<br>;; Got answer:<br>;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 22835<br>;; flags: qr aa rd; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0<br>;; WARNING: recursion requested but not available<br><br>;; QUESTION SECTION:<br>;kiwazo.be. IN A<br><br>;; AUTHORITY SECTION:<br>. 1 IN SOA mario. hostmaster. 0<br>10800 3600 604800 3600<br><br>;; Query time: 16 msec<br>;; SERVER: 127.0.0.1#53(127.0.0.1)<br>;; WHEN: Wed May 7 17:01:45 2025<br>;; MSG SIZE rcvd: 77<br><br>root@centos# ping mario<br>PING mario (194.140.12.111) 56(84) bytes of data.<br>^C<br>--- mario ping statistics ---<br>2 packets transmitted, 0 received, 100% packet loss, time 1128ms<br><br>root@centos# ping kiwazo.be<br>ping: unknown host kiwazo.be<br>root@centos#<br><br><br><br><br>I think I'll look for another way, because it's getting too<br>complicated. Thank you very much for your time.<br></div></div></blockquote></div><br><div>Yes, as I mentioned: Adding an auth server which doesn't know how to resolve things to /etc/resolv.conf will cause lots of bad things.</div><div><br></div><div>Frank</div><div><br></div></body></html>