Alternate service for ip retrieving 

http://ipecho.net/plain seems to get way better latency than ifconfig.
Check what service suits you better
Merge branch 'yultreuse-master'
Use IPEcho as ipretriever service instead of IfConfig.