docs: replace 1.1.1.1 with 8.8.8.8 as default DNS server

This commit is contained in:
zarazaex69
2026-05-21 19:01:10 +03:00
parent 0ec244e0dc
commit 9bf81248c4
16 changed files with 51 additions and 50 deletions

View File

@@ -16,7 +16,7 @@ var errBoom = errors.New("boom")
const (
testAuthWBStream = "wbstream"
testDNSServer = "1.1.1.1:53"
testDNSServer = "8.8.8.8:53"
)
func writeYAML(t *testing.T, body string) string {
@@ -90,7 +90,7 @@ func TestRunWithConfigValidationAndDataDirErrors(t *testing.T) {
Auth: "jitsi",
RoomID: "https://meet.small-dm.ru/test",
KeyHex: "key",
DNSServer: "1.1.1.1:53",
DNSServer: "8.8.8.8:53",
}
if err := runWithConfig(loadedConfig{scfg: scfg}); !errors.Is(err, ErrDataDirRequired) {
t.Fatalf("runWithConfig(no data dir) = %v, want %v", err, ErrDataDirRequired)
@@ -140,7 +140,7 @@ crypto:
key: key
net:
transport: datachannel
dns: 1.1.1.1:53
dns: 8.8.8.8:53
data: `+dir+`
`)
@@ -181,7 +181,7 @@ crypto:
key: key
net:
transport: vp8channel
dns: 1.1.1.1:53
dns: 8.8.8.8:53
data: `+dir+`
`)
@@ -216,7 +216,7 @@ link: direct
crypto:
key: key
net:
dns: 1.1.1.1:53
dns: 8.8.8.8:53
profiles:
- name: wb-primary
auth: