cloudflare-lb icon indicating copy to clipboard operation
cloudflare-lb copied to clipboard

wont delete down hosts

Open wojons opened this issue 10 years ago • 7 comments

There is a bug that probably somehow related to CloudFlare API changes. cloudflare-lb.py can't delete dead hosts from the list. If host dies, script just prints "Still Dead".

As far as I understand, get_rec_id function doesn't return an id because condition "if y['display_name'] == name" always false.

"display_name" variable returns a subdomain, and "name" variable returns full url. example:

"name": "direct.example.com", "display_name": "direct",

wojons avatar Aug 26 '14 11:08 wojons

reported by @bermanboris

wojons avatar Aug 26 '14 11:08 wojons

I have the same problem

McKay1717 avatar Mar 28 '15 13:03 McKay1717

i will work on problem thanks for remebeder

wojons avatar Mar 29 '15 14:03 wojons

@wojons Thanks for your work ;)

McKay1717 avatar Mar 29 '15 14:03 McKay1717

@McKay1717

i am sorry took me so long i have been testing it and seems to go down and up correctly

wojons avatar Jun 23 '15 14:06 wojons

With a @ record ?

McKay1717 avatar Jun 28 '15 18:06 McKay1717

@McKay1717 i will try it with the @ record this time.

wojons avatar Jun 29 '15 23:06 wojons