Skip to content

Commit 80483d6

Browse files
authored
Set default nameservers to empty list (#1329)
The default 'nameservers' variable is now an empty list instead of specifying Cloudflare and Google DNS. This allows for more flexible configuration and avoids hardcoding external DNS servers.
1 parent b6c4523 commit 80483d6

File tree

1 file changed

+3
-3
lines changed
  • automation/roles/common/defaults

1 file changed

+3
-3
lines changed

automation/roles/common/defaults/main.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -836,9 +836,9 @@ netdata_conf:
836836
############################################################
837837

838838
# DNS servers (/etc/resolv.conf)
839-
nameservers:
840-
- "1.1.1.1" # Cloudflare DNS (primary)
841-
- "8.8.8.8" # Google DNS (secondary)
839+
nameservers: []
840+
# - "1.1.1.1" # Cloudflare DNS (primary)
841+
# - "8.8.8.8" # Google DNS (secondary)
842842

843843
# /etc/hosts (optional)
844844
etc_hosts: []

0 commit comments

Comments
 (0)