Skip to content

Commit

Permalink
dns/transport: default port 53
Browse files Browse the repository at this point in the history
  • Loading branch information
ignoramous committed Sep 8, 2023
1 parent 5e442ff commit bcad0af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/node/dns-transport.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import * as util from "../../commons/util.js";
import { TcpConnPool, UdpConnPool } from "../dns/conns.js";
import { TcpTx, UdpTx } from "../dns/transact.js";

export function makeTransport(host, port, opts = {}) {
export function makeTransport(host, port = 53, opts = {}) {
return new Transport(host, port, opts);
}

Expand Down

0 comments on commit bcad0af

Please sign in to comment.