Je domein: het wildcard-DNS-record
Laat je domein naar je Viaalink Relay wijzen met twee DNS-records, het domein en de wildcard, zodat elke apparaatnaam de Relay bereikt, en laat de Relay ze controleren.
- Duur
- 2:56
- Gepubliceerd
- Taal
- Engels
Uitgeschreven tekst (Engels)
Every device name sits under your domain: notes, git, photos. You could add a record for each name, but devices pick new names all the time. A wildcard record, *.relay.example.com, covers every name at once. So you add two records. One for the domain itself, and the wildcard. The wildcard is the one that makes every device name work. Both records point at your home connection. Which kind you pick depends on that address.
If your provider can change your home address, use a CNAME record. It points at a dynamic DNS name, such as the one your NAS gives you, and that name follows your address. If your address is fixed, an A record pointing straight at it is fine. Use the same kind for both records. At your DNS provider, add the first record. Most providers want only the part before your own domain: relay. Then add the wildcard: *.relay, with the same target.
If your provider offers to proxy a record, switch that off for both. The Relay must receive the traffic itself, or its certificates fail. Now let your Relay check it. Open Domains. Under Default DNS target, choose CNAME, and type the same target as in your records. Click Check DNS again. The Relay makes up a random name under your domain, one nobody created, and looks it up. Only a wildcard can answer for a name like that.
If the wildcard is missing, or has not spread yet, Domains says the wildcard record was not found. The Overview turns red: devices cannot be reached by name. A new record can take a while. Wait a few minutes. Then check again. Now the wildcard is found, and it points to your target. Open the domain, and both records read found. The red row on the Overview is gone. To recap. One wildcard covers every device name. Use a C name for an address that changes, an ay record for a fixed one.
Add the domain and its wildcard, and let the Relay check it on Domains. If it is not found yet, wait, and check again. A question to check yourself. You added only the record for relay.example.com. A device publishes notes. Why does its address not open? Pause the film if you like. The answer: nothing covers that name. Add the wildcard.