Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automatic bicycle server discovery via DNS #8

Open
abradshaw opened this issue Sep 20, 2018 · 4 comments
Open

Automatic bicycle server discovery via DNS #8

abradshaw opened this issue Sep 20, 2018 · 4 comments
Labels
enhancement New feature or request

Comments

@abradshaw
Copy link
Collaborator

Locate preferred bicycle server via simply querying for a DNS SRV record

@sspreitzer
Copy link

Maybe also server loadbalancing aka "balanced tandem" via DNS TXT/SRV records

@sspreitzer
Copy link

Maybe also repository discovery (site specific) via DNS TXT/SRV.

eg.: myrepository._mysite._yum.example.com -> "https://biycle.mysite.example.com/repos/myrepository"

@ldelouw
Copy link

ldelouw commented Sep 22, 2018

Implement site discovery as well. This automatically points the client to the next repo available.

Example:

[luc@f28 ~]$ dig _pkgrepo._tcp.example.com. SRV
_pkgrepo._tcp.example.com. 86400 IN CNAME _ldap._tcp.NUE._locations.example.com.
_pkgrepo._tcp.BER._locations.example.com. 86400 IN SRV 0 100 80 example.com.

Where 0 is the prio, 100 the weight and 80 the port.

Prototype needed....

@abradshaw abradshaw added the enhancement New feature or request label Sep 22, 2018
@sspreitzer
Copy link

sspreitzer commented Sep 28, 2018

Let us do the resolving part on the bicycle server and set the URL in the client repo file. So we have no dependencies on the clients, like scripts or yum plugins. Simple wins.

Downside, how to discover the site a client belongs to?

Could use DNS lookup function from ansible or run "dig" via shell.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants