[GH-ISSUE #488] custom domains with IP v4 nameservers are broken #359

Open
opened 2026-02-26 10:31:03 +03:00 by kerem · 2 comments
Owner

Originally created by @ThomasWaldmann on GitHub (Nov 8, 2021).
Original GitHub issue: https://github.com/nsupdate-info/nsupdate.info/issues/488

This is site-specific for the https://www.nsupdate.info site - from the updated site notes:

* your nameserver has a native IPv6 address - just use it!

* your nameserver only has IPv4 (e.g. 192.0.2.33), then create a IPv6
      address like shown below and enter it into the nsupdate.info form field:

     +-------------------+--------------+----------------------------+
     | Well-Known Prefix | IPv4 address | IPv4-Embedded IPv6 address |
     +-------------------+--------------+----------------------------+
     | 64:ff9b::/96      |  192.0.2.33  | 64:ff9b::192.0.2.33        |
     +-------------------+--------------+----------------------------+
     (taken from RFC 6052, section 2.4)

     NOTE: due to changes in tayga, this does not work any more since we
     moved to a new VM host at 2021-11-06.

     An immediate fix is possible if you can enter a valid public IP v6
     of your DNS server.

     If that is not possible, make sure your DNS server has a valid A
     record at least, so it can be referred to by FQDN.
     With that and a fix to the nsupdate.info code, we can make
     it working later again based on the FQDN of your nameserver.
Originally created by @ThomasWaldmann on GitHub (Nov 8, 2021). Original GitHub issue: https://github.com/nsupdate-info/nsupdate.info/issues/488 This is site-specific for the `https://www.nsupdate.info` site - from the updated site notes: ``` * your nameserver has a native IPv6 address - just use it! * your nameserver only has IPv4 (e.g. 192.0.2.33), then create a IPv6 address like shown below and enter it into the nsupdate.info form field: +-------------------+--------------+----------------------------+ | Well-Known Prefix | IPv4 address | IPv4-Embedded IPv6 address | +-------------------+--------------+----------------------------+ | 64:ff9b::/96 | 192.0.2.33 | 64:ff9b::192.0.2.33 | +-------------------+--------------+----------------------------+ (taken from RFC 6052, section 2.4) NOTE: due to changes in tayga, this does not work any more since we moved to a new VM host at 2021-11-06. An immediate fix is possible if you can enter a valid public IP v6 of your DNS server. If that is not possible, make sure your DNS server has a valid A record at least, so it can be referred to by FQDN. With that and a fix to the nsupdate.info code, we can make it working later again based on the FQDN of your nameserver. ```
Author
Owner

@ThomasWaldmann commented on GitHub (Nov 8, 2021):

TODO for the code:

the fields for primary and optional secondary DNS servers have a validator that checks for IP v4 or v6 address.

we need to allow entering a FQDN also. at lookup time, dns64 will then transform a v4 address automatically to a working v6 address.

<!-- gh-comment-id:963568484 --> @ThomasWaldmann commented on GitHub (Nov 8, 2021): TODO for the code: the fields for primary and optional secondary DNS servers have a validator that checks for IP v4 or v6 address. we need to allow entering a FQDN also. at lookup time, dns64 will then transform a v4 address automatically to a working v6 address.
Author
Owner

@ThomasWaldmann commented on GitHub (Nov 8, 2021):

nsupdate.main.models.Domain
rename nameserver_ip -> nameserver
rename nameserver2_ip -> nameserver2
change validators / field types
create / apply migration
<!-- gh-comment-id:963622312 --> @ThomasWaldmann commented on GitHub (Nov 8, 2021): ``` nsupdate.main.models.Domain rename nameserver_ip -> nameserver rename nameserver2_ip -> nameserver2 change validators / field types create / apply migration ```
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#359
No description provided.