mirror of
https://github.com/XTLS/Xray-core.git
synced 2024-12-22 19:33:32 +02:00
fix: fix tests
This commit is contained in:
parent
8884e948fe
commit
b15fffaac6
1 changed files with 2 additions and 2 deletions
|
@ -101,8 +101,8 @@ func (*staticHandler) ServeDNS(w dns.ResponseWriter, r *dns.Msg) {
|
|||
rr, _ := dns.NewRR("localhost-b. IN A 127.0.0.4")
|
||||
ans.Answer = append(ans.Answer, rr)
|
||||
|
||||
case q.Name == "mijia\\ cloud." && q.Qtype == dns.TypeA:
|
||||
rr, _ := dns.NewRR("mijia\\ cloud. IN A 127.0.0.1")
|
||||
case q.Name == "Mijia\\ Cloud." && q.Qtype == dns.TypeA:
|
||||
rr, _ := dns.NewRR("Mijia\\ Cloud. IN A 127.0.0.1")
|
||||
ans.Answer = append(ans.Answer, rr)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue