Skip to content

Commit

Permalink
chore: revert to default config
Browse files Browse the repository at this point in the history
  • Loading branch information
nimeetshah0 committed Oct 31, 2021
1 parent 652e32f commit fa22948
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/config.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
const config = {
ip: '0.0.0.0',
ip: '127.0.0.1',
port: 8000,
httpsOnly: false,
clientHelloMTU: 100,
dns: {
type: 'unencrypted', // 'tls' or 'https' or 'unencrypted'
type: 'https', // 'tls' or 'https' or 'unencrypted'
server: 'https://cloudflare-dns.com/dns-query',
ip: '127.0.0.1',
port: 53,
Expand Down
2 changes: 1 addition & 1 deletion src/dns/unencrypted.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import BaseDNS from './base';

const socket = dnsSocket()

export default class DNSOverHTTPS extends BaseDNS {
export default class DNSUnencrypted extends BaseDNS {
constructor(dnsIp, dnsPort) {
super();
this.dnsIp = dnsIp;
Expand Down

0 comments on commit fa22948

Please sign in to comment.