rejetto forum

dns autoupdater suggestion

kardan · 9 · 9589

0 Members and 1 Guest are viewing this topic.

Offline kardan

  • Occasional poster
  • *
    • Posts: 5
    • View Profile
hello, i'm using hfs about 4 years. mostly stable release, but last year i switch to betas (current build 279) mostly because of more quickest upload speed.

but recently i see that something wrong with dyndns updater in hfs.
i have ppoe internet connection with dynamic IP. every 24h connection was down by ISP
i setup my ppoe connection automatically reconnect, so after 2-3 sec after coneection is down, it try connect again

early (this aol stable version) after this reconnect all woar fine - hfs detect change ip and update dyndns. but currently with new version sometimes update failed

16:13:46 New external address: 79.133.137.203 via www.canyouseeme.org
16:13:47 DNS update requested for 79.133.157.9: no reply
16:38:23 New external address: 79.133.137.203 via www.canyouseeme.org
16:38:24 DNS update requested for : no reply

then i need manually update by processing thrue dudnsupdate wizrd

16:39:46 New external address: 79.133.137.203 via checkip.dyndns.org
16:39:46 DNS update requested for : successful


1) how about add automatic reupdate dns if previous attempt not successful? same way as "constantly search better adress"?
2) very dissapointing thing for me that "constantly search better adress" unchecked then i change state "ip idress"/"dns name" in menu

and last thing that a little missing - normal settings window. now too much setting and menu really huge and difficult to navigating. what problem to place it on 1-2 settings window whith checkbokses? for now search some setting if you dont know where it can be - very difficult. also just to observe all possible settings need navigate in about 30 menu and submenu. please, thing about it... if you need help for creating/designing comfortable settings form just say, i try do this


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13523
    • View Profile
hello, i'm using hfs about 4 years. mostly stable release, but last year i switch to betas (current build 279) mostly because of more quickest upload speed.

just for your information, there's a modified version of 2.2 that solves the speed problem
http://www.rejetto.com/forum/index.php/topic,6662.msg1042023.html#msg1042023

Quote
early (this aol stable version) after this reconnect all woar fine - hfs detect change ip and update dyndns. but currently with new version sometimes update failed

did you try old version, to see if the problem is only in the new one?

Quote
1) how about add automatic reupdate dns if previous attempt not successful? same way as "constantly search better adress"?

policies of these DNS services require updaters to not insist on errors.
But "no reply" is not an error, it's an empty reply from the service.
HFS is supposed to not stop trying in this case. Are you sure it is not retrying?

Quote
2) very dissapointing thing for me that "constantly search better adress" unchecked then i change state "ip idress"/"dns name" in menu

i don't understand, could you please explain what happened?

Quote
and last thing that a little missing - normal settings window. now too much setting and menu really huge and difficult to navigating.

yes, i agree


Offline kardan

  • Occasional poster
  • *
    • Posts: 5
    • View Profile
just for your information, there's a modified version of 2.2 that solves the speed problem
http://www.rejetto.com/forum/index.php/topic,6662.msg1042023.html#msg1042023
thanks, but new features such as file delete/renaming etc also useful sometimes.
also i prefer testing beta/alfa/nightly builds, like see new useful features and testing it. i use hfs for fun, so bugs not problem.

did you try old version, to see if the problem is only in the new one?
not shure, i try to check this when i have free time. i'm web programmer and familar with thing like wireshark and sniffing, i try investigate what happened when error with updating dyndns
policies of these DNS services require updaters to not insist on errors.
But "no reply" is not an error, it's an empty reply from the service.
HFS is supposed to not stop trying in this case. Are you sure it is not retrying?
i think absolutely, but i try to check when that happened. when i see that server not responding by dns name, i look in log and see that long time ago (half a hour and more) ip chaged, hfs detect this, try update dydns whit answer "no reply" and thats all. no retry updating message in log
i don't understand, could you please explain what happened?
steps for reproduce
1) set option IP Adress->constantly search for better adress
2) switch to another variant from option in IP Adress->(dynddns url/ip adress)
3) option IP Adress->constantly search for better adress  become diasabled
yes, i agree


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13523
    • View Profile
well, when you choose manually, automatic ways are supposed to be disabled.


Offline kardan

  • Occasional poster
  • *
    • Posts: 5
    • View Profile
well, when you choose manually, automatic ways are supposed to be disabled.
i think that "implicit smart"

i have two ip - ppoe external ip (internet) and local network card ip
sometimes i want give link with ip (not tell dns name for security reasons - after change ip link will be expired)
so i switch to internet ip from dns

but my ip is dynamic, so i want to constantly search best ip even i select ip adress. for me this is switch between dns/ip, not constat(static) ip / dns

i think less smarter soft in this case would be better :). i want manually select option for contstantly search best adress. especially if for that need to twice navigate through menu )

I think it would be very nice if near nice quick select port option place same switch for dns name/ip

ps errors with dns currently not found, but i looking to it.
« Last Edit: November 04, 2011, 12:49:03 PM by kardan »


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13523
    • View Profile
instead of using the "ip address" menu, try right click > copy url with different host address


Offline kardan

  • Occasional poster
  • *
    • Posts: 5
    • View Profile
instead of using the "ip address" menu, try right click > copy url with different host address

thanks, dont see this feature before. i would use this further, if not forget :) (its not so intuitive for me)
but please think about disable unchecking option "constantly search for better ip".


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13523
    • View Profile
"better" is not always definite.
When HFS choose an address for you, it can continue searching for a better address, because it is following the same "decision path".

When YOU select manually an address, HFS doesn't know why you decided for it, so there's no way to know that something else is BETTER respect your first choice. That's why that option doesn't make sense after you manually select an address.

To be clearer, this option is designed to switch from an "internal" to an external address.
If you are on an external address (maybe you selected it manually) but it's a dynamic ip and it changes, then HFS will switch to the new one, no matter if "search better" is disabled.


Offline kardan

  • Occasional poster
  • *
    • Posts: 5
    • View Profile
hello, i return again. today i see another update fail

Code: [Select]
12:29:39 New external address: 95.81.214.194 via www.canyouseeme.org
12:29:40 DNS update requested for 95.81.201.117: no reply

and after this update not retry

i have idea that happened when my computer automatically reconnect to ppoe connection after internet provider shut down it every 24h
after connect my pc have some freeze, so maybe it leed to not recieve answer from dyndns

why it not try to send update again later? maybe you start dns update only if previous ip and current differen. so after 1st attempt it equal and retry not happened?


oops, i saw some interesting and catch no reply answer by wireshark
why you send two requests to update dns? first whiout basic auth and second with basic auth?
i catch situation with no reply.
on 1st request answer is 401 auth required, on second request - no reply. after this i dont see any activities about 3-5 minutes
« Last Edit: December 09, 2011, 03:08:08 PM by kardan »