You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2021/06/22 09:23:20 UTC

[GitHub] [apisix] yoyofx opened a new issue #4463: request help: upstream host 添加域名会被转换为IPv4

yoyofx opened a new issue #4463:
URL: https://github.com/apache/apisix/issues/4463


   ### Issue description
   upstream host 添加域名,会被转换成IP,是否能直接按域名解析
   
   ### Environment
   
   Request help without environment information will be ignored or closed.
   
   * apisix 2.6
   * OS (cmd: `uname -a`):
   * OpenResty / Nginx version (cmd: `nginx -V` or `openresty -V`):
   * etcd version, if have (cmd: run `curl http://127.0.0.1:9090/v1/server_info` to get the info from server-info API):
   * apisix-dashboard 2.7
   * luarocks version, if the issue is about installation (cmd: `luarocks --version`):
   


-- 
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix] yoyofx commented on issue #4463: request help: upstream host added domain name will be converted to IPv4

Posted by GitBox <gi...@apache.org>.
yoyofx commented on issue #4463:
URL: https://github.com/apache/apisix/issues/4463#issuecomment-871835187


   > or you could just say what you want? maybe you need the request to be forwarded upstream with some `host` parameters?
   
   确实这时候应该用host解决,感谢


-- 
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: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix] yoyofx commented on issue #4463: request help: upstream host 添加域名会被转换为IPv4

Posted by GitBox <gi...@apache.org>.
yoyofx commented on issue #4463:
URL: https://github.com/apache/apisix/issues/4463#issuecomment-865825604


   比如说,添加一个上游的host  是 域名 + 端口号, host1.gg.com , 80
   设置路由 /hostgg/*  后, 访问 xx.xx.xx.xx:9080/hostgg  后 host1.gg.com 域名会被dns解析成IP( 10.0.2.11:80 ) 
   但是我这边想要的结果是直接转发到这个域名,而不是dns解析成IP后再访问 。


-- 
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix] tzssangglass commented on issue #4463: request help: upstream host 添加域名会被转换为IPv4

Posted by GitBox <gi...@apache.org>.
tzssangglass commented on issue #4463:
URL: https://github.com/apache/apisix/issues/4463#issuecomment-865979704


   or you could just say what you want? maybe you need the request to be forwarded upstream with some `host` parameters?


-- 
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix] tokers commented on issue #4463: request help: upstream host 添加域名会被转换为IPv4

Posted by GitBox <gi...@apache.org>.
tokers commented on issue #4463:
URL: https://github.com/apache/apisix/issues/4463#issuecomment-865810009


   @yoyofx Please paste some details and a minimal reproducible case.


-- 
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix] tokers commented on issue #4463: request help: upstream host 添加域名会被转换为IPv4

Posted by GitBox <gi...@apache.org>.
tokers commented on issue #4463:
URL: https://github.com/apache/apisix/issues/4463#issuecomment-865902113


   I'm afraid I didn't understand what you mean, how did a service can be accessed if its domain cannot be resolved to IP addresses?


-- 
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix] yoyofx closed issue #4463: request help: upstream host added domain name will be converted to IPv4

Posted by GitBox <gi...@apache.org>.
yoyofx closed issue #4463:
URL: https://github.com/apache/apisix/issues/4463


   


-- 
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: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org