jlentink / go-transip-dyndns

Easy update your hostname hosted with TransIP to your dynamic address.
MIT License
36 stars 3 forks source link

IP6 Address not added to the TXT record #14

Open hjheins opened 2 years ago

hjheins commented 2 years ago

Hi, for spf I use a txt record. In this record both the IP4 and the IP6 address should be defined. That apparently is not that easy: I get a TXT file with the IP4 twice in there. The rule: ...ip4:{{.IPv4}} ip6:{{.IPv6}}.... The result: ...ip4://ip4 address// ip6://ip4 address//

Am I doing something wrong here?

hjheins commented 2 years ago

As additional info: the AAAA record actually does contain the (correct) IP6 address

jlentink commented 2 years ago

I was going through the code to see what the issue could be however, the problem I currently have is that I don't have a IPv6 address. In the code, the above should not make sense, So no option for me to debug it at this moment.

hjheins commented 2 years ago

@jlentink: if you want, I can do some debugging. What would you want me to do please?

jlentink commented 2 years ago

Probably yes! I will see if I can create a unique build for you with more debug information. I'll contact you soon.