Skip to content

Commit

Permalink
change lodns0 address and bump version
Browse files Browse the repository at this point in the history
  • Loading branch information
vandot committed Oct 27, 2022
1 parent f9e5d16 commit 5c558fb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lodns.nimble
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Package

version = "0.1.2"
version = "0.1.3"
author = "vandot"
description = "Simple DNS server for local development"
license = "MIT"
Expand Down
3 changes: 2 additions & 1 deletion src/lodns/actions.nim
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ proc systemProbe*(): (string, int) =
quit()
var version = execProcess("systemd --version | head -1 | awk '{ print $2}'")
version.stripLineEnd
ip = "169.254.1.1"
# IPv4 dummy address (RFC7600)
ip = "192.0.0.8"
if parseInt(version) <= 245:
port = 53
when defined windows:
Expand Down

0 comments on commit 5c558fb

Please sign in to comment.