robini opened a new issue, #11336:
URL: https://github.com/apache/apisix/issues/11336
### Description
I add an ip and hostname pair in /etc/hosts:
`127.3.4.1 aaa.dev.com `
and then I add a route:
```
{
"uri": "/example",
"methods": ["PUT", "GET"],
"upstream": {
"type": "roundrobin",
"nodes": {
"aaa.dev.com:1980": 1
}
}
}
```
then I curl 'apisix:9080/example', it shows dns error. why? I want to use
this hostname as upstream, how to do ?
### Environment
- APISIX version 3.2.0:
deployed by helm
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]