lovesmenotB
lovesmenot Admin Merchant OP
免费、分线、权威 dns · anyns.io
· 1468 views#0

Community group: https://t.me/anyns_nht
09-21 Update: The prefix for branded NS now supports customization, no longer fixed to ns1, ns2. See point 2.

  1. Update: Streamlined from 4 entry points to 2 entry points, aligning with the industry-standard CF.
code
ns1.anyns.io
ns2.anyns.io

(Users of the original ns3 and ns4 can continue to use them, as they also redirect to ns1 and ns2.)
Significantly expanded nodes, scaling up to 25 independent nodes, including 8 cross-IPv6 network nodes and 3 independent IPv6 nodes. Full-line anycast, with IPv6 capability.

  1. Today we're not talking about CF acceleration or custom routing. Today we're talking about how to replace ns1.anyns.io and ns2.anyns.io with your own branded NS.
    In the backend at https://anyns.io/panel/brand-ns

Select the custom branded NS domain you want to set up (this domain must first be hosted on anyns and have delegation completed). Here I'll choose my own domain n.ht.
The backend shows the following glue records need to be added:

ns1.n.ht points to (recommended to select at least one IPv4 and one IPv6)
185.187.153.13
185.187.153.14
2a14:1ec7:f7fe:6::13
2a14:1ec7:f7fe:6::14

ns2.n.ht points to (recommended to select at least one IPv4 and one IPv6)
109.224.231.13
109.224.231.14
2a05:b0c4:1::13
2a05:b0c4:1::14

Note: Only legitimate domain registrars can add glue records. Some reseller APIs may not support glue record capability; you can contact customer service via ticket for manual processing.
Some of you may not have encountered glue records before. Actually, glue records are registered at the registry, and are provided by the registry alongside NS records.
For example, when baidu.com's domain hasn't yet had its NS take effect, glue records can already be registered with the registry.
ns1.baidu.com ~ ns4, ns7 point to Baidu's NS servers, so that the domain can find its own NS servers before the NS records take effect, thus solving the chicken-and-egg problem.

After the glue records take effect, all my domains including n.ht can be enabled by clicking "Brand NS" in the top right corner at https://anyns.io/panel/zone/n.ht, then going to the registrar to change the domain's NS to ns1.n.ht and ns2.n.ht, to use as custom branded NS.

  1. To give anyns.io users more peace of mind, we've updated the n.ht rules to clarify that n.ht rules do not apply to anyns.io: even if a user is banned on n.ht for violations, it will not affect their use of anyns.io.
SIGN还在折腾技术的老登!

image
Why do HTTP/2 errors occur on mobile phones?

lovesmenotB
lovesmenot Admin Merchant OP
免费、分线、权威 dns · anyns.io
#12
Reply @常世万法仙君 #11

Hmm. Your client is probably built on something like the Rust hyper library, which doesn't support the https://user-ID:token@api.nhtapi.com/dns-query form.
I've now switched to the following new style, which can re-fetch the DoH address in the background:

https://doh.co.fo/dns-query/xxxxxtoken

Of course, the old domain and format are still supported!

SIGN还在折腾技术的老登!
Reply @lovesmenot #12

I'm going crazy, the updates are coming out so fast

lovesmenotB
lovesmenot Admin Merchant OP
免费、分线、权威 dns · anyns.io
#14
Reply @常世万法仙君 #13

Every user is now a treasure. If you don't fight for them, you're finished.

SIGN还在折腾技术的老登!
woailB
woail SVIP Merchant
IP地址查询工具箱 · ip.fs.kg
#15

Support! This is so impressive. It's not impossible that it could become a major site like X in the future.

cncdn
cncdn Lv1
#16

This domain must first be hosted on anyns and have delegation completed. What does this mean — must I first change the DNS server to ns1.anyns.io, and only after it is recognized and verified change it to the custom NS domain name?

lovesmenotB
lovesmenot Admin Merchant OP
免费、分线、权威 dns · anyns.io
#17
Reply @cncdn #16

It used to work like this. This was indeed a logical design flaw. The "threshold" that existed when changing the middle NS to anyns should never have been there.

It has now been fixed:
The root domain of a brand NS no longer needs to be delegated first: undelegated ones will directly use the brand NS, while other domains must wait until they are delegated and approved before they can be enabled.

SIGN还在折腾技术的老登!
cncdn
cncdn Lv1
#18
Reply @lovesmenot #17

Very convenient and practical! Thank you!

asen
asen SVIP
#19

Currently using it, and the time feels pretty good.

i8023chu
#20

Let me study this first, I can't understand it yet

Login