square-ability-48831
01/23/2025, 10:59 PM@
for the host name, but providing @
as the string to the name:
RecordArg value is not adequate, since the actual record that gets created appends the FQDN to it, e.g. @.<http://domain.com|domain.com>
instead of just @
.
const ownershipValidationDNSRecord = new aws.route53.Record("ownershipDNSRecord", {
name: '@',
records: ['provided validation string from email provider'],
zoneId: zone.zoneId,
type: aws.route53.RecordType.TXT,
ttl: 3600,
});
the above code creates the following record (screenshot)
@.<http://domain.com|domain.com> TXT Simple - No "value" 3600 - ...
Is there any way to suppress this postfix on the hostname?little-cartoon-10569
01/23/2025, 11:25 PM@
as the name?
Some DNS record providers use the at-symbol as the default, meaning "nothing". Route53 doesn't. If the instructions you're following say something like "use the default @ value for the name", then in Route53 you need to leave the name blank. The default in Route53 is just an empty string.square-ability-48831
01/24/2025, 1:27 AMsquare-ability-48831
01/24/2025, 1:34 AM