dns-proxy-server
dns-proxy-server copied to clipboard
Cannot add CNAME record in the web UI: Invalid JSON
The web UI generates an error 400 when trying to add a CNAME record:
It seems that the backend has troubles parsing the resulting HTTP request:
Invalid JSON: json: cannot unmarshal string into Go struct field HostnameV1.ip of type [4]uint8
What is expected
CNAME record added.
Steps to Reproduce
- Create and select a custom Environment on the
:5380
web UI. - Try to add a CNAME record
- DPS Version:
2.19.0
some tips to create cname record
- do not select the
Type
onCNAME
( default it'sA
) - input your
Hostname
- input any text in
IP
( just in case the IP is empty ) - select the
Type
toCNAME
, then input yourTarget
and save data
Same issue here.
Above tip didn't work, however, gave a different error: "×env not found"
I got some related behavior, but fixed it at 3.5.2
can you try it?
@PriamX / @uvaa / @ulidtko
I'm closing this but feel free to reopen if the issue persists
@mageddo Tested with docker defreitas/dns-proxy-server 3.7.0...it works now! Thank you.