Skip to content
This repository has been archived by the owner on Mar 17, 2020. It is now read-only.

add --ip flag #30

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

add --ip flag #30

wants to merge 1 commit into from

Conversation

adedomin
Copy link

I was having issues with the web service you were using to get external IP's. It wasn't working for setting AAAA records because it was only returning IPv4 addresses.

I added a flag to your script so I can use a custom service to get IP's instead, such as "$(ip addr show | grep -m 1 -P -o '(?<=inet6 )(?!::1|fe80)[^/ ]*')" to get the first non loopback/link-local IPv6 address.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant