moby / moby/libnetwork

Docker DNS Limeted list of extenal dns servers

Open
#2,485 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Go
Stars
2.2k
Forks
875
PR merge metrics
No merged PRs in 30d

Description

Feature Request
Current docker embedded DNS uses hardcoded:
maxExtDNS = 3 //max number of external servers to try
In our company we use 4 DNSservers and thus don't cover all out fail over scenario's. It would be nice if we can make maxExtDNS configurable

https://github.com/docker/libnetwork/blob/master/resolver.go#L68

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with resolver.go at the referenced maxExtDNS definition and trace how external DNS servers are selected. Determine where this limit can be configured, then verify that the resulting behavior permits four external DNS servers for the reported failover scenario.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
networking
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.