The DNS Golden Standard: A DNS server aiming to return all acceptable IPs for a query
Return all possible IPs returned by a service in TXT records.
dig @dgs-server TXT twitter.com +tcp
npm install dgsnode index.js
DGS is not a DNS server in the classic sense, we just use the same delivery mechanism, since it is meant to be used in tandem with a standard DNS client. DGS allows clients to verify that an IP they have received for a service is actually correct, by providing the netblock spaces that are owned by domains. See: What is this for?
DGS will make several queries on your behalf to determine correct IPs for the services you query. As such, TCP is used to discourage apmplification attacks being used against the service.
When trying to figure out if the IP address you have been given for a service is correct, there hasn't been a great baseline or golden standard that can be used for that comparison. This attempts to rectify that situation by providing the known scopes that services use for their resolutions.