4

I'm using TinyDNS, and have successfully used wildcard records of the form:

+*.<domain>:<ip>

(+ for A records.)

Can I also use:

+development.*.<domain>:<ip>

?

My intention is for all subdomains to have their development website point to our dev machine in one rule.

Iain Hallam
  • 447
  • 2
  • 6
  • 22

1 Answers1

7

Wildcard DNS records have a single "*" (asterisk) as the leftmost DNS label, such as *.domain.com. Asterisks at other places in the domain will not work as a wildcard, so neither *development.domain.com nor development.*.domain.com work as wildcard DNS records.

Source: Wikipedia

Iain Hallam
  • 447
  • 2
  • 6
  • 22
user1598202
  • 621
  • 4
  • 2