Re: [go-nuts] dnsConfig for alternate resolv.conf

2025-06-19 Thread 'Sean Liao' via golang-nuts
No, the only exposed API is Dial. - sean On Thu, Jun 19, 2025, 18:45 Denton Gentry wrote: > One can supply a net.Resolver with a Dial function to connect to whatever > DNS server one wishes. > > I have a system where an alternate set of DNS servers is written to > /usr/local/etc/resolv.conf. I

[go-nuts] dnsConfig for alternate resolv.conf

2025-06-19 Thread Denton Gentry
One can supply a net.Resolver with a Dial function to connect to whatever DNS server one wishes. I have a system where an alternate set of DNS servers is written to /usr/local/etc/resolv.conf. I don't see a straightforward way to supply my own dnsConfig which reads in this alternate resolv.conf