[GH-ISSUE #130] Allow selective deletion of AAAA (or A) record #121

Closed
opened 2026-02-26 09:35:49 +03:00 by kerem · 5 comments
Owner

Originally created by @TobiX on GitHub (Jan 13, 2014).
Original GitHub issue: https://github.com/nsupdate-info/nsupdate.info/issues/130

Originally assigned to: @ThomasWaldmann on GitHub.

Hi,

I set up a new host name for a host that only has IPv4 connectivity right now, but since I did the initial setup from a IPv6 box, the host now has A and AAAA records and I can't delete just the AAAA record... My current workaround: Set IPv6 record to ::

(This might be related to #129)

Originally created by @TobiX on GitHub (Jan 13, 2014). Original GitHub issue: https://github.com/nsupdate-info/nsupdate.info/issues/130 Originally assigned to: @ThomasWaldmann on GitHub. Hi, I set up a new host name for a host that only has IPv4 connectivity right now, but since I did the initial setup from a IPv6 box, the host now has A and AAAA records and I can't delete just the AAAA record... My current workaround: Set IPv6 record to :: (This might be related to #129)
kerem 2026-02-26 09:35:49 +03:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@ThomasWaldmann commented on GitHub (Jan 13, 2014):

yeah, deletion of A / AAAA records is not really exposed on the UI / API yet, but internally there is code for it.

<!-- gh-comment-id:32160185 --> @ThomasWaldmann commented on GitHub (Jan 13, 2014): yeah, deletion of A / AAAA records is not really exposed on the UI / API yet, but internally there is code for it.
Author
Owner

@ThomasWaldmann commented on GitHub (Jan 16, 2014):

I am not sure any more that this is related to offline mode.

But I am considering that if someone sends an update with myip=0.0.0.0 or myip=:: that this will delete the A or AAAA record (just empty is not enough as we need to determine whether A or AAAA is meant).

Hmm, myip= (completely empty) could mean "kill both A and AAAA record".

<!-- gh-comment-id:32430078 --> @ThomasWaldmann commented on GitHub (Jan 16, 2014): I am not sure any more that this is related to offline mode. But I am considering that if someone sends an update with myip=0.0.0.0 or myip=:: that this will delete the A or AAAA record (just empty is not enough as we need to determine whether A or AAAA is meant). Hmm, myip= (completely empty) could mean "kill both A and AAAA record".
Author
Owner

@ThomasWaldmann commented on GitHub (Jan 16, 2014):

Alternatively (and definitely less dirty than using in-band signalling with special values) we could implement an additional deletion api at /nic/delete (so /nic/update is really just updating).

Potentially, it could delete any given record type (maybe even multiple at once?) and would not be limited to A or AAAA.

<!-- gh-comment-id:32433206 --> @ThomasWaldmann commented on GitHub (Jan 16, 2014): Alternatively (and definitely less dirty than using in-band signalling with special values) we could implement an additional deletion api at /nic/delete (so /nic/update is really just updating). Potentially, it could delete any given record type (maybe even multiple at once?) and would not be limited to A or AAAA.
Author
Owner

@elnappo commented on GitHub (Jan 16, 2014):

i think you should be able to delete record. for the possibility to delete a A or AAAA record which is no longer in use and to set a host to "offline". Maybe when an host is set to not available use this "offline" feature to delete both records? In this case "offline" and "available" are the same.

<!-- gh-comment-id:32452845 --> @elnappo commented on GitHub (Jan 16, 2014): i think you should be able to delete record. for the possibility to delete a A or AAAA record which is no longer in use and to set a host to "offline". Maybe when an host is set to not available use this "offline" feature to delete both records? In this case "offline" and "available" are the same.
Author
Owner

@ThomasWaldmann commented on GitHub (Jan 21, 2014):

should be fixed by 36c3c8d314 and d195bba4d0 - soon also available on nsupdate.info site.

I added a /nic/delete api (very similar to /nic/update except that it deletes the record) and a "Delete" button to the host view. No inband signalling. \o/

<!-- gh-comment-id:32911351 --> @ThomasWaldmann commented on GitHub (Jan 21, 2014): should be fixed by 36c3c8d314b938cf565038bafcb93633ead3f964 and d195bba4d05a237a4adc2a6fb17d87a4d310255a - soon also available on nsupdate.info site. I added a /nic/delete api (very similar to /nic/update except that it deletes the record) and a "Delete" button to the host view. No inband signalling. \o/
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/nsupdate.info-nsupdate-info#121
No description provided.