-
-
Notifications
You must be signed in to change notification settings - Fork 117
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
CNAME initial sync #377
Comments
For me it helped if I just created "something" to the slave list, then on next push it did syncronize the full list correctly. |
I can confirm this. The same happens btw for static DHCP: If 04-pihole-static-dhcp.conf is not present on the remote, gravity-sync fails. using "touch" on the remote to create an empty file with that name will make the sync to succeed. |
…T>' when already set in gravity-sync.conf. Fix: Initial sync of static DHCP and CNAME to 'empty pihole' now works. Enhancement: Various settings now settable via ENV vars (for Docker) (#384) * SSH custom port: Fixed bug, where GS_SSH_PORT is overwritten by gravity-sync.conf (if set) when calling 'gravity-sync config NEW_SSH_PORT'. Docker enhancements: Made many config-variables settable via ENV vars * Fixing initial push of CNAME and Static DHCP entries to an 'empty' remote (fixes #377) * Removing unecessary 'export' keyword * Fixed 'md5_recheck' for the bug #377 * Adding ENV documentation * Fixing typo * Fixed type and nicely formatted tables with emacs --------- Co-authored-by: Michael Stanclift <mx@vmstan.com>
First of all, you are truly a God sent, this was exactly what I have needed for months and months...
I just installed the scritps on two vm's. It seems CNAME's are not synced automatically out of the box. I had to manually write them in on the "slave" server too. After that the sync identified a mismatch, synced and became in sync (before that when using compare on the slave it only said no CNAME records were found on the "slave" server and that a sync was needed).
It might be that it is necessary to only write in one entry for it to trigger correctly, I have not tested this.
Best regards,
Jonas
The text was updated successfully, but these errors were encountered: