2개 답변
- 최신
- 최다 투표
- 가장 많은 댓글
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.
답변함 7년 전
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.
답변함 7년 전
관련 콘텐츠
- 질문됨 일 년 전
