KVM and Guest DNS

Issues related to configuring your network
Post Reply
towerman
Posts: 1
Joined: 2018/07/09 02:36:55

KVM and Guest DNS

Post by towerman » 2018/07/09 02:46:21

I have setup an Ubuntu guest using KVM on a centos 7 host. I am have it setup on a bridge and everything is working until I reboot. I found this post viewtopic.php?t=26562 which helped to resolve my DNS issue on my ubuntu guest, however it does not survive a reboot. I have to run # sysctl -p /etc/sysctl.conf to resolve whenever the host is rebooted. Guest survives a reboot just fine.

Any help on how I can make this persistent would be greatly appreciated.

hunter86_bg
Posts: 2019
Joined: 2015/02/17 15:14:33
Location: Bulgaria
Contact:

Re: KVM and Guest DNS

Post by hunter86_bg » 2018/07/09 05:00:13

I admit that I didn't check the previously mentioned thread.
You have 2 locations to set such parameters:
1. Conf file in '/etc/sysctl.d/
2. Tunable profile for tuned

Keep in mind that if you set an option in point 1, it can be overwritten by point 2.
So, check if your machine uses tuned, which profile is loaded and if there is such option in it.

Post Reply