2 Respostas
- Mais recentes
- Mais votos
- Mais comentários
0
DNS doesn't work that way. There is no evaluative logic that exists the way it might for networking CIDR blocks or the like.
You can't reliably have *. and staging. for the same domain.
I suggest modifying your DNS or routing all *. to a load balancer than can then use Application Delivery Control (e.g. in ALB, it would be using rules based on host) for routing.
respondido há 7 anos
0
DNS does work that way. Wildcards can get complicated, but having "*.example.com" and "foo.example.com" is fine and can work reliably.
I just tried it with Route 53 -- using non-alias TXT records -- and it worked fine.
There might be a caching issue, or some other misconfiguration, or maybe a limitation with Route 53 alias records, but in general it's fine.
respondido há 7 anos
Conteúdo relevante
- feita há 5 meses
- feita há 19 dias
