At home, I have an AVM FRITZ!Box router. That does some DNS magic and lets you resolve names in the local network. So I can do ssh martin-friese.fritz.box from another computer and get a connection to the laptop. This nicely works without any Avahi/Zeroconf/Bonjour stuff and therefore also supports Windows and Android right away. The address http://fritz.box gets resolved to the router's web interface (192.168.???.1).
At the university, my computer still has the hostname martin-friese.fritz.box. Perhaps this got baked into my Fedora installation a little too deep. I guess I should rather have martin-friese and let the FRITZ!Box DNS bake in the .fritz.box when I am at home.
When I now try to resolve a non-existing hostname, I get this:
$ host this-does-not-exist
this-does-not-exist.fritz.box has address 127.0.53.53
this-does-not-exist.fritz.box mail is handled by 10 your-dns-needs-immediate-attention.box.
An internet search on your-dns-needs-immediate-attention tells me that the .box TLD is now a valid domain and that therefore there is a clash of my DNS with the global DNS.
The output of dig does not really help me.
$ dig this-does-not-exist
; <<>> DiG 9.10.4-P5-RedHat-9.10.4-4.P5.fc25 <<>> this-does-not-exist
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 10457
;; flags: qr rd ra ad; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
;; QUESTION SECTION:
;this-does-not-exist. IN A
;; AUTHORITY SECTION:
. 10800 IN SOA a.root-servers.net. nstld.verisign-grs.com. 2017013000 1800 900 604800 86400
;; Query time: 13 msec
;; SERVER: 131.220.226.3#53(131.220.226.3)
;; WHEN: Mo Jan 30 16:51:54 CET 2017
;; MSG SIZE rcvd: 123
So I guess I just need to change my hostname to martin-friese without the .fritz.box? Or should I change it to friese.martin-ueding.de, I own the domain but the registrar does not know anything about my laptop.