Skip to content

Commit

Permalink
fix: fix DNS resolution by binding to 0.0.0.0 instead of localhost.
Browse files Browse the repository at this point in the history
  • Loading branch information
zicklag committed Oct 31, 2024
1 parent 4d1a51b commit 11e7134
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lib/dns/server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@ export async function startDnsServer() {

const s = new server.DefaultServer({
networks: [
new network.DNSOverTCP('localhost', DNS_PORT),
new network.DNSOverUDP('localhost', DNS_PORT)
new network.DNSOverTCP('0.0.0.0', DNS_PORT),
new network.DNSOverUDP('0.0.0.0', DNS_PORT)
]
});

Expand Down

0 comments on commit 11e7134

Please sign in to comment.