Skip to content
This repository has been archived by the owner on Jun 24, 2022. It is now read-only.

masq2agent converter errors #20

Open
xakraz opened this issue Dec 31, 2015 · 0 comments
Open

masq2agent converter errors #20

xakraz opened this issue Dec 31, 2015 · 0 comments

Comments

@xakraz
Copy link

xakraz commented Dec 31, 2015

  • DNSMasq configuration file use the character # as the delimiter to define the port to use,
  • But DNSAgent support :

Using the output of masq2agent creates an error at DSNAgent startup

DNSMasq Config

server=/consul/127.0.0.1#8600

masq2agent output

[
    {
        "Pattern": "^(.*\\.)?consul$",
        "NameServer": "127.0.0.1#8600"
    }
]

DNSAgent output

[Processor] Unexpected exception:
System.FormatException: Invalid ip-address
  at DNSAgent.Utils.CreateIpEndPoint,String endPoint, Int32 defaultPort>
  at DnsAgent.DnsAgent.<>c__DisplayClass30_0.<<ProcessMessageAsync>b__0>d.MoveNext<>
@xakraz xakraz changed the title masq2agent errors masq2agent converter errors Dec 31, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant