DNS resolving in Openfiler
Thursday, August 04th, 2011 | Author: Ozzik
Just a small issue I had today.
Since I run rsync scripts at night and get email about their execution, I noticed that email came with:
ssh: Could not resolve hostname SERVERNAME: Name or service not known rsync: connection unexpectedly closed (0 bytes received so far) [receiver] rsync error: unexplained error (code 255) at io.c(635) [receiver=3.0.3]
After looking into it a bit more, I realised that this error started showing after the gateway change I had recently. Apparently, something gets screwed and the line in resolv.conf starts to read “search servername.domainname.com”(example of course), when it should only read domainname.com
After deleting the “servername” part it was all fine again.
Just FYI.
Ozzik
Category: Admin's scene, Google searches, Linux at home
|