Fix iOS DNS timeout (#1504)

This commit is contained in:
Viktor Liu
2024-01-29 17:10:47 +01:00
committed by GitHub
parent 25b3641be8
commit 9c56f74235
6 changed files with 18 additions and 28 deletions

View File

@@ -16,11 +16,11 @@ func Test_parseResolvConf(t *testing.T) {
expectedOther []string
}{
{
input: `domain chello.hu
search chello.hu
input: `domain example.org
search example.org
nameserver 192.168.0.1
`,
expectedSearch: []string{"chello.hu"},
expectedSearch: []string{"example.org"},
expectedNS: []string{"192.168.0.1"},
expectedOther: []string{},
},