Commit graph

7 commits

Author SHA1 Message Date
369eefa5dc Aggiorna README.md 2025-03-05 23:58:51 +08:00
Lázaro Blanc
ba769cd06e
Merge pull request #6 from mricim/patch-1
Refactor get_domain_from_fqdn regex to handle both www and root domain
2023-12-30 20:43:32 +01:00
mricim
ca62996a56
Refactor get_domain_from_fqdn regex to handle both www and root domain
This commit addresses an issue where the script was expecting the domain to include the "www" prefix for proper zone identification. The regex in get_domain_from_fqdn has been modified to make the subdomain part optional, allowing it to handle both domains with "www" and root domains without "www".

These changes were necessary to ensure the script works seamlessly with both www and root domains, providing more flexibility in DNS record handling.

Testing has been performed, and the script now successfully identifies and updates DNS records for domains with or without the "www" prefix.
2023-12-30 20:30:59 +01:00
Lázaro Blanc
532dcad35b
Merge pull request #5 from rhigginsDE/main
Update def get_domain_from_fqdn(fqdn)
2023-12-02 00:10:36 +01:00
RyanHiggins
9d3ea8e90d
Update get domain name 2023-12-01 23:56:54 +01:00
Lázaro Blanc
6c090ab928 Closes #1 and fixes #2 & #3 2021-05-15 16:43:55 +02:00
Lázaro Blanc
77b96e3870 init 2021-05-15 11:42:15 +02:00