Hello,
Not sure if this is a Webmin or Virtualmin question.
I have a Debian VPS running Webmin/Virtualmin, everything up to date.
On that VPS something like 20 virtual hosts running smoothly (so far :-).
My upstream host does the DNS for me and so I stopped using Bind on my VPS, it’s off. Why ? because it feels safer for me, I’m maybe a little paranoid.
I have miscellaneous CMS’s on this VPS and I suddenly have a request from a client to get on his website a remote XML stream … and I am unable to get it, the CMS just telling me it is unable to get the stream … I try updating that CMS and its plugin, and same problem, plugins that should update almost automatically give me errors, unable to reach the repository etc …
Of course I test the same functionnalities on the same CMS but elsewhere (another host), and it works. The XML stream also works when added elsewhere. I then try the same functionnalities on the same CMS and same server, but different virtualhost … does not work. Ok so it’s a server problem.
I then try ssh into the VPS, and then wget my stream, and bingo, I get an error about not being able to resolve the stream hostname.
I guess that having stopped Bind, I don’t have name resolution on the server … but virtualhosts using my upstream provider are ok for people coming TO the server. Requests coming FROM the server cannot work …
Is my diagnostic ok ? and of course, any idea how I could apply a solution ? without Bind ?
I was looking into the Webmin->Network->DNS client that does look like an option, but not sure how to use that: I have a “Ordre de résolution” (I guess “resolving priority”) starting with Hosts and then DNS and my DNS server just says 127.0.0.1 (localhost). Should I just insert here my upstream provider DNS servers ? should I use IP or hostname ?
Thks in advance !
Pierre.