0-main.de#
We own the DENIC domain 0-main.de. Our promise to you is that any A or AAAA
record will always point to 127.0.0.1.
Zonefile#
Here’s the Zonefile of the domain. As you can see, we simply point the host
record (@) and any record (*) to the loopback interface.
$ORIGIN 0-main.de.
$TTL 43200
; SOA Records
@		IN	SOA	hydrogen.ns.hetzner.com. dns.hetzner.com. 2022011400 86400 10800 3600000 3600
; NS Records
@		IN	NS	helium.ns.hetzner.de.
@		IN	NS	hydrogen.ns.hetzner.com.
@		IN	NS	oxygen.ns.hetzner.com.
; A Records
*		IN	A	127.0.0.1
@		IN	A	127.0.0.1
; AAAA Records
*		IN	AAAA	::1
@		IN	AAAA	::1
Verification#
Feel free to dig around (pun intended 😁), e.g.
$ dig +short A 0-main.de
127.0.0.1
$ dig +short A foo.0-main.de
127.0.0.1
$ dig +short A foo.bar.0-main.de
127.0.0.1
$ dig +short AAAA 0-main.de
::1
$ dig +short AAAA foo.0-main.de
::1
$ dig +short AAAA foo.bar.0-main.de
::1
Caveats#
Please note that some network setups do not support this style of pointing a domain to 127.0.0.1.
The AVM FRITZ!Box for example does not allow resolving to „domain names that point to private IP addresses“ (via AVM knowledge base).
  
    
    
    
      
      
      
      Caddy
    
    
  
   
  
    
    
    
      Django Migrations