You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by "wilenceyao (via GitHub)" <gi...@apache.org> on 2023/05/29 03:53:09 UTC

[GitHub] [apisix] wilenceyao opened a new issue, #9565: help request: in discovery.dns.servers config, how to use local DNS resolver ?

wilenceyao opened a new issue, #9565:
URL: https://github.com/apache/apisix/issues/9565

   ### Description
   
   The service discovery of dns type requires us to configure servers like this,
   
   https://github.com/apache/apisix/blob/master/apisix/discovery/dns/schema.lua#L20
   
   discovery:
     dns:
       servers:
         - "10.96.0.10:53"
   
   how to tell apisix use system local resovers instead of manually configure
   
   ### Environment
   
   *


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

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


[GitHub] [apisix] Revolyssup commented on issue #9565: help request: in discovery.dns.servers config, how to use local DNS resolver ?

Posted by "Revolyssup (via GitHub)" <gi...@apache.org>.
Revolyssup commented on issue #9565:
URL: https://github.com/apache/apisix/issues/9565#issuecomment-1647205805

   @lingsamuel Please put this to backlog from in-progress as it is a low priority feature and requires discussion first.


-- 
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] Revolyssup commented on issue #9565: help request: in discovery.dns.servers config, how to use local DNS resolver ?

Posted by "Revolyssup (via GitHub)" <gi...@apache.org>.
Revolyssup commented on issue #9565:
URL: https://github.com/apache/apisix/issues/9565#issuecomment-1639753686

   @wilenceyao Does this PR fulfill your use case? https://github.com/apache/apisix/pull/9770


-- 
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] shreemaan-abhishek commented on issue #9565: help request: in discovery.dns.servers config, how to use local DNS resolver ?

Posted by "shreemaan-abhishek (via GitHub)" <gi...@apache.org>.
shreemaan-abhishek commented on issue #9565:
URL: https://github.com/apache/apisix/issues/9565#issuecomment-1566878184

   I'm curious too.
   


-- 
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] monkeyDluffy6017 closed issue #9565: help request: in discovery.dns.servers config, how to use local DNS resolver ?

Posted by "monkeyDluffy6017 (via GitHub)" <gi...@apache.org>.
monkeyDluffy6017 closed issue #9565: help request: in discovery.dns.servers config, how to use local DNS resolver ?
URL: https://github.com/apache/apisix/issues/9565


-- 
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] kasini3000 commented on issue #9565: help request: in discovery.dns.servers config, how to use local DNS resolver ?

Posted by "kasini3000 (via GitHub)" <gi...@apache.org>.
kasini3000 commented on issue #9565:
URL: https://github.com/apache/apisix/issues/9565#issuecomment-1608842457

   Looking forward to the early implementation of this feature.
   Look:
   Building cross platform dynamic service discovery using coredns and etcd
   https://www.cnblogs.com/piapia/p/17503775.html
   
   ----
   
   BTW: Generally speaking, at least two DNS IPs and ports should be added.


-- 
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] Revolyssup commented on issue #9565: help request: in discovery.dns.servers config, how to use local DNS resolver ?

Posted by "Revolyssup (via GitHub)" <gi...@apache.org>.
Revolyssup commented on issue #9565:
URL: https://github.com/apache/apisix/issues/9565#issuecomment-1602140854

   The underlying lua-resty-dns client allows uses local resolveconf when no nameservers are passed here[1]
   
   But in APISIX , according to the schema, the `servers` field is mandated [2]
   and resolveconf is always passed empty[3]. We can add an option in config-default to allow passing resolveconf. 
   
   @lingsamuel Can you assign this to me?
   
   
   1. https://github.com/Kong/lua-resty-dns-client/blob/fb1e686a8857c7492fdd30ca228d200afbde19aa/src/resty/dns/client.lua#LL564C44-L564C50
   
   2. https://github.com/apache/apisix/blob/d51950d645a6eff05e4848804490d489add7fc69/apisix/discovery/dns/schema.lua#L20
   
   3. https://github.com/apache/apisix/blob/d51950d645a6eff05e4848804490d489add7fc69/apisix/discovery/dns/init.lua#L7
   


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