Hetzner - DokuWiki

Vanity DNS/en

Inhaltsverzeichnis

Vanity DNS/Nameserver

  • How to assign your own names for the Hetzner nameservers
  • How you can set up a vanity nameserver entry

A vanity nameserver is a nameserver for which you can use a name of a domain (for example, nsl.example.com for www.example.com) instead of the actual name of the Hetzner nameserver.

Since the Hetzner nameserver is masked, a vanity nameserver allows you to make a more professional impression.

Having a vanity DNS server in operation differs completely from using your own nameserver on a virtual or dedicated server.

With vanity nameservers, the hostname for the Hetzner nameserver is masked. But IP addresses and the reverse DNS entries for the Hetzner nameserver remain the same.

Requirements:

  • You have registered a domain.
  • You have created all necessary glue records.

If you use Hetzner's Domain or Nameserver Robot, both requirements are already met.

Create the necessary DNS entries

First, you need to create the entries for the corresponding domain A or domain AAAA. Use the IP addresses for the Hetzner name server for these entries.

ns1        IN A       213.239.242.238
ns2        IN A       213.133.105.6
ns3        IN A       193.47.99.3
ns1        IN AAAA    2a01:4f8:0:a101::a:1
ns2        IN AAAA    2a01:4f8:d0a:2004::2
ns3        IN AAAA    2001:67c:192c::add:a3

Then you can replace the existing/old NS entries. Note: Do not forget the trailing dots!

@ IN NS ns1.example.com. @ IN NS ns2.example.com. @ IN NS ns2.example.com.

Create glue records

The last step changes depending on the domain registrar and the TLD that you are using. Generally, you need to create your own glue record for each separate name server.

  • ns1.example.com
213.239.242.238 2a01:4f8:0:a101::a:1
  • ns2.example.com
213.133.105.6 2a01:4f8:d0a:2004::2
  • ns3.example.com
193.47.99.3 2001:67c:192c::add:a3

Using the Hetzner Nameserver Robot

.com/.net/.org/.biz/.info/.eu domains

With .com/.net/.org/.biz/.info/.eu domains, you must first register the nameserver. You can do this by going to Robot and then to "DNS Entries" -> "Registered nameservers".

ns1.example.com 213.239.242.238
ns2.example.com 213.133.105.6
ns3.example.com 193.47.99.3
Vanity register ns.png

With .de and .at domains, you can add the glue record directly into the input field for the the nameservers. Use the following format: nameserver's hostname + empty space + nameserver's IP address.


ns1.testen.de 213.239.242.238 2a01:4f8:0:a101::a:1 ns2.testen.de 213.133.105.6 2a01:4f8:d0a:2004::2 ns3.testen.de 193.47.99.3 2001:67c:192c::add:a3

Vanity glue de.png

Once the changes have been successfully applied, it can still take up to 72 hours for the changes to be seen worldwide.

See also



© 2017. Hetzner Online GmbH. Alle Rechte vorbehalten.