[GH-ISSUE #109] [Resolver] use the system's dns conf, e.g. /etc/resolv.conf #55

Closed
opened 2026-03-07 22:18:24 +03:00 by kerem · 5 comments
Owner

Originally created by @bbigras on GitHub (Mar 27, 2017).
Original GitHub issue: https://github.com/hickory-dns/hickory-dns/issues/109

Is there an helper or something to to a query using the system's dns servers that would also handle if the first one fails.

Right now it seems I need to hardcode the dns server ip.

Originally created by @bbigras on GitHub (Mar 27, 2017). Original GitHub issue: https://github.com/hickory-dns/hickory-dns/issues/109 Is there an helper or something to to a query using the system's dns servers that would also handle if the first one fails. Right now it seems I need to hardcode the dns server ip.
kerem 2026-03-07 22:18:24 +03:00
Author
Owner

@bluejekyll commented on GitHub (Mar 27, 2017):

By "system" do you mean read /etc/resolv.conf or equivalent?

<!-- gh-comment-id:289484724 --> @bluejekyll commented on GitHub (Mar 27, 2017): By "system" do you mean read /etc/resolv.conf or equivalent?
Author
Owner

@bbigras commented on GitHub (Mar 27, 2017):

Yes.

<!-- gh-comment-id:289486735 --> @bbigras commented on GitHub (Mar 27, 2017): Yes.
Author
Owner

@bluejekyll commented on GitHub (Mar 27, 2017):

This is something I plan to include in the Resolver. I thought I had an issue open for that, but I didn't, so I opened a new one: #110

Basically, the Client is supposed to be a dumb DNS client. I decided this after some concerns around the DNSSec solving logic, which will probably migrate to the Resolver package in time. I plan on starting this work after I finish some work on mTLS.

<!-- gh-comment-id:289511838 --> @bluejekyll commented on GitHub (Mar 27, 2017): This is something I plan to include in the Resolver. I thought I had an issue open for that, but I didn't, so I opened a new one: #110 Basically, the Client is supposed to be a dumb DNS client. I decided this after some concerns around the DNSSec solving logic, which will probably migrate to the Resolver package in time. I plan on starting this work after I finish some work on mTLS.
Author
Owner

@bluejekyll commented on GitHub (Mar 27, 2017):

Depends on #110

<!-- gh-comment-id:289512134 --> @bluejekyll commented on GitHub (Mar 27, 2017): Depends on #110
Author
Owner

@bluejekyll commented on GitHub (May 23, 2017):

see #136

I plan for that to support reading the system resolv.conf

<!-- gh-comment-id:303486155 --> @bluejekyll commented on GitHub (May 23, 2017): see #136 I plan for that to support reading the system resolv.conf
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/hickory-dns#55
No description provided.