Quantcast
Channel: Proxmox Support Forum
Viewing all articles
Browse latest Browse all 171791

PVE 4.0 DNS settings disapearing

$
0
0
I can configure DNS settings via the GUI DNS / Edit / Dialog box 'Search Domain' and 'DNS Server'
and DNS resolution then works for a time:
Code:

root@deb82:~# cat /etc/resolv.conf 
search wnr2200.lan 
nameserver 192.168.11.1 
nameserver 192.168.5.1

However at some point /etc/resolv.conf is regenerated and the details are lost.
I have searched the forums and google and the 2 most helpful answers were:
Thread: Hostname Issue
https://forum.proxmox.com/threads/8715-Hostname-Issue
and
How do I include lines in resolv.conf that won't get lost on reboot? https://askubuntu.com/questions/1571...lost-on-reboot

There are 2 NICs for which I configured 2 Linux Bridges:
and have tried adding to the bridges iface stanzas
dns-search wnr2200.lan
dns-nameservers 192.168.5.1

in /etc/network/interfaces

But cannot resolve this problem.
Code:

root@deb82:~# ls -al /etc/network/interfaces.d/ 
total 8 
drwxr-xr-x 2 root root 4096 Mar 13  2015 . 
drwxr-xr-x 7 root root 4096 Oct 16 21:44 ..

root@deb82:~# pveversion   
pve-manager/4.0-50/d3a6b7e5 (running kernel: 4.2.2-1-pve)

I have been testing PVE4 since Beta1 and Beta2 and DNS worked ok on other boxes but now I see this problem on a box that I recently freshly installed.

I followed the guide: Install Proxmox VE on Debian Jessie after doing a fresh install of Debian 8.2

Viewing all articles
Browse latest Browse all 171791

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>