News for hackers. Stuff that matters.
Re:Nations of the Amazon are seeking “shared governance” of ... by gloflo on Wednesday April 10, 2019 @10:05AM (#19624728)
There are other, e.g. http://ai
Re:Nations of the Amazon are seeking “shared governance” of ... by Symbiote on Wednesday April 10, 2019 @10:09AM (#19624770)
http://ai./ is the canonical way to refer to this, and avoid the link directing to ai.example.com if such a host exists in the local network.
Re:Nations of the Amazon are seeking “shared governance” of ... by stardek on Wednesday April 10, 2019 @12:16PM (#19626130)
Can anyone explain what happens when I click this?

I'm on the University of Waterloo network and I get sent to [1], rather than what I get when I add the period for: http://ai./

[1] https://uwaterloo.ca/artificial-intelligence-group/

Re:Nations of the Amazon are seeking “shared governance” of ... by the_pwner224 on Wednesday April 10, 2019 @12:29PM (#19626278)
Here's my /etc/resolv.conf (I'm running Linux, though the theory is cross-platform):

# Generated by NetworkManager

search my-university.edu

nameserver their-dns-server-ip

nameserver their-other-dns-server-ip

nameserver their-third-dns-server-ip

DNS queries get sent to the nameserver, but the search domain is what's important here. The search domain is used to resolve non-fully-qualified domain names. So if I just type in http://cs, that's not a FQDN since there are no .s - with cs.my-university.edu, it goes edu->my-university->cs, but just cs is not fully qualified. So since the search domain is 'my-unversity.edu', if I just type in http://cs into the browser, it will look up cs.my-university.edu.

In your case, going to the URL ai.uwaterloo.ca redirects to the URL you linked. Adding the trailing . to ai makes it fully qualified, so going to "http://ai." makes your DNS lookup just 'ai' instead of 'ai.uwaterloo.ca'.

The search domain stuff is mostly useful for addressing other devices on the network. My home router sets the search domain to 'lan' when configuring DHCP devices, so I can use my-server as a hostname and it will resolve to my home server's IP. E.g. "ssh my-server" will turn into "ssh my-server.lan" which gets resolved by the router's DNS server to the correct IP.

Re:Nations of the Amazon are seeking “shared governance” of ... by JdeBP on Wednesday April 10, 2019 @12:40PM (#19626409)
I expect that several people can.

* http://jdebp.uk./FGA/web-fully-qualified-domain-name.html

    % dnsqr a ai.uwaterloo.ca.
    1 ai.uwaterloo.ca:
    74 bytes, 1+2+0+0 records, response, noerror
    query: 1 ai.uwaterloo.ca
    answer: ai.uwaterloo.ca 286 CNAME wms-redir1.uwaterloo.ca
    answer: wms-redir1.uwaterloo.ca 286 A 129.97.128.216
    %
    % fetch -v -o /dev/null http://ai.uwaterloo.ca./ 2>&1|head -n 6
    looking up ai.uwaterloo.ca.
    connecting to ai.uwaterloo.ca.:80
    requesting http://ai.uwaterloo.ca./
    301 redirect to https://uwaterloo.ca/artificial-intelligence-group/
    looking up uwaterloo.ca
    connecting to uwaterloo.ca:443
    %
Re:Nations of the Amazon are seeking “shared governance” of ... by CydeWeys on Wednesday April 10, 2019 @10:42AM (#19625149)
Wow, they're bragging about cryptography on that site but they're not even serving it securely.
Re:Nations of the Amazon are seeking “shared governance” of ... by ryanlol on Wednesday April 10, 2019 @10:10AM (#19624790)
.ai is allowed to do this because .ai is a ccTLD administered by the government of Anguilla.

.amazon is a gTLD covered by different rules, they are technically able to do this but it is explicitly forbidden (contractually).