mageddo / dns-proxy-server

Solve your DNS hosts from your docker containers, then from your local configuration, then from internet
http://mageddo.github.io/dns-proxy-server/
Apache License 2.0
796 stars 79 forks source link

Feature Request: Use resolv.conf instead of systemd-resolved when running inside docker container #582

Closed mageddo closed 1 month ago

mageddo commented 1 month ago

Summary & Motivation

To prevent cases like #580 , maybe it would make sense to DPS edit resolv.conf file instead of system resolved file even when it is on the first place at the priority because DPS won´t be able to configure itself automatically as the default DNS when inside docker container.

Drawbacks:

Example:

Provide a solver which can solve from previously configured DNS records. It's will be useful because people can use DPS for static DNS entries instead of use /etc/hosts or something like.

Goals

What is supposed to do in short. (Optional)

Example

A simple, static DNS server

Non-Goals

What people would think it is supposed to do, but it is not? (Optional)

Example

  • Not to implement a full and complex DNS server

Description

Explain the feature details and how it would work, usecases, examples, snippets of code, inputs and outputs, etc. (Required)

Example

Storage

DNS records will be stored at the existing DPS config file.

DNS Records

  • It will have support to A, AAAA and CNAME entries.
  • Also, TTL by record will be supported