3 ms·
Is there any safe way to do that? Other than set the DNS to 8.8.8.8?
by ngcc_hk 4y ago
Is there any safe way to do that? Other than set the DNS to 8.8.8.8?
- mindcrime 4y agoIf you're running systemd-resolved the answer is: To make systemd-resolved resolve hostnames that are not fully qualified domain names, add ResolveUnicastSingleLabel=yes to /etc/systemd/resolved.conf. for that part of it. In my case I had to do that AND change my router config since I'm using an OpenWRT based router. But with both changes made, ai. resolves just fine now for me.
- hjV9H2bWu4ZhXPy 4y agoDoes a lookup for "ai." work without it? That is (explicitly, even!) a FQDN...
- mindcrime 4y agoFor me, before changing that setting, lookups for ai. were failing. After changing it, they worked. I also had to make that OpenWRT change mentioned above since my router is running OpenWRT. As to the question of whether or not lookup for ai. should work even without that setting... I dunno. Maybe it's just down to the way the systemd-resolved maintainers interpreted the spec?