-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* issue 15: implemented default config locations * finished issue 15 * check config file exists before attempting read * moved config loaded msg, removed config_file from DnsSettings * removed commented code * moved file read out of loop * refactored into separate load functions so config param now optional * second attempt * will randomly generate remote lookup port * removed unwanted debug line --------- Co-authored-by: ghost <[email protected]>
- Loading branch information
1 parent
9d5dd64
commit aa0ed2a
Showing
5 changed files
with
7 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
listening-port: 53 | ||
remote-lookup-port: 42069 | ||
thread-count: 1 | ||
use-udp: true | ||
use-tcp: false | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters