systemd-resolved not forwarding dns requests to dns server when ElasticIP assigned

0

We have instances running ubuntu 20.04 which use systemd-resolved with a local address of 127.0.0.53

This appears to affect instances that have an ElasticIP assigned to them but not others. I cannot see any other difference. resolvectl status show that 10.0.0.2 is the dns server in use for both affected and non-affected instances. On affected instances, using tcpdump I can see that 127.0.0.53 is responding with SERVFAIL and not forwarding anythin to the Amazon DNS service, which is at 10.0.0.2

However if I manually send a request directly to 10.0.0.2 on affected instance: nslookup x.y.com 10.0.02 it successfully perfroms dns request.

Any ideas?

답변 없음

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠