Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Falsely setting AAAA record to all-zero when ipv6 is not supported #21

Closed
saschanaz opened this issue Oct 4, 2023 · 3 comments
Closed

Comments

@saschanaz
Copy link
Contributor

I had to manually pass IPV4_ONLY=TRUE, but maybe the script should skip ipv6 in that case.

@mietzen
Copy link
Owner

mietzen commented Oct 4, 2023

What do you mean by not supported? Please provide logs.

@saschanaz
Copy link
Contributor Author

saschanaz commented Oct 5, 2023

Sure:

> porkbun-ddns -v config.json (mydomain) -f "192.168.178.1"
Update existing entry, with:
{"name": "(mydomain)", "type": "A", "content": "(mynewip)"}
Deleting A-Record for (mydomain) with content: (myoldip), Status: SUCCESS
Creating A-Record for (mydomain) with content: (mynewip), Status: SUCCESS
Update existing entry, with:
{"name": "(mydomain)", "type": "AAAA", "content": "0000:0000:0000:0000:0000:0000:0000:0000"}
Deleting AAAA-Record for (mydomain) with content: (myoldipv6), Status: SUCCESS
Creating AAAA-Record for (mydomain) with content: 0000:0000:0000:0000:0000:0000:0000:0000, Status: SUCCESS

With config.json having api keys. You should be able to simulate this by turning off ipv6 on your fritzbox.

Edit: FRITZ!OS 7.57, on Box 7530

@mietzen
Copy link
Owner

mietzen commented Oct 5, 2023

I'm questioning if it is at all useful to set the Fritzbox IPv6 Address unless you some how setup a NAT6 on your Fritzbox.

@mietzen mietzen closed this as completed in 2c6914a Oct 7, 2023
mietzen added a commit that referenced this issue Oct 7, 2023
Check if public IP is unspecified, fixes #21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants