You are not logged in.
Sometimes I can't wget (for conky purposes) mail.gmail.com, other times it works and resolves to 209.85.201.83. Would it be possible, or even practical to put that into resolv.conf so it always uses that IP or would that not work if I used a different network?
Offline
It would go into /etc/hosts, not resolv.conf
Anyway, install bind and the DNS resolving will be far more reliable
Offline
Thanks. At the moment it is working, but I also did just go to my inbox and it always works after that, we'll see how long it keeps it up. What exactly does the package do and do I have to do everything in the wiki or should installing it be enough?
Offline
One day later and it still has the same problem and after reading through bind, I don't think it is what I'm looking for.
Offline
Add this to /etc/hosts
# Always resolve gmail and shortcut "gmail" to it too
209.85.201.83 mail.google.com gmail
Should work
Offline
That what I was thinking, and it does work. However, if I were to use a different connection (this is a laptop) should gmail always resolve to that or will it cause problems?
Offline