Thanks, Cameron D, for the suggestions. Sorry to have been so vague, I 
guess was in a panic situation. 
My problem was finally solved by forcing a reinstall of resolvconf which 
seemed to put everything back in proper order. Messing with 
/etc/resolv.conf  (as in the old days) didn't work for me as it was being 
overwritten. 
For anyone with a limited knowledge of Ubuntu/Debian, such as myself, I 
found an excellent link to setting DNS, etc.
How To Set Permanent DNS Nameservers in Ubuntu and Debian (tecmint.com) 
<https://www.tecmint.com/set-permanent-dns-nameservers-in-ubuntu-debian/>

Cheers,
Bob

On Sunday, December 17, 2023 at 8:50:15 AM UTC-5 Cameron D wrote:

> yes, definitely not a weeex problem.
> You have not given us anything to go on, as there are  dozens of 
> combinations of installations that will influence this.  For example  
> "*Resolv.conf 
> seems to be a simlink to something else*" is about as vague as you can 
> possibly get.
>
>
>    1. When you say "my dns servers" do you really mean *you *are running 
>    local DNS servers?, or do you mean ... "the external DNS servers my system 
>    needs to use."?
>    2. check out the documentation for systemd-resolved 
>    
> <https://www.freedesktop.org/software/systemd/man/latest/systemd-resolved.service.html>
>  - 
>    it sounds like you are using this systemd utility.  There are many ways to 
>    operate it
>    3. if you remove the symlink at /etc/resolv.conf and replace with a 
>    text file the information you want then systemd should leave it alone and 
>    assume you are managing everything.
>    4. are you running dhcp to give out details to your weewx system?  the 
>    dhcp client will want to update DNS server details and needs to be 
>    compatible with however your resolver operates.
>
> Your best bet is to google for some guides, however be aware that  some 
> will not be correct if they don't match your networking/server setup.
>
> On Friday 15 December 2023 at 10:54:06 pm UTC+10 [email protected] wrote:
>
>> Hello,
>> Weewx 4.10.2 has been running fine but suddenly stopped FTPing to the 
>> main site. After checking, I found that my dns servers were missing. After 
>> putting them back, it ran normally for a few hours and then FTP stopped 
>> again because dns had disappeared. Not sure what is happening here as weewx 
>> is running fine. Resolv.conf seems to be a simlink to something else and 
>> can’t be edited. Using webmin to reset the dns servers only works for a 
>> short while.
>> I realize this probably isn’t a weewx problem but I’m completely stumped 
>> as to how to fix the problem. Any help or suggestions would be greatly 
>> appreciated. Thanks in advance.
>> Cheers,
>> Bob
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/a5d9ee5b-bdfc-462b-a338-29bd74d5ed38n%40googlegroups.com.

Reply via email to