Score:0

Setting up Ubuntu vm and forgot to add a search domain

cf flag

I was setting up an Ubuntu DNS server VM and accidentally forgot to add a search domain. How can I add this to my system? I set a static IP and had DHCP turned off on the machine. I am also using NetworkManager, would I add this configuration to my Netplan Yaml file? Ipv4 configuration

Score:0
id flag

This is an working example from my Ubuntu 22.04 server.

network:
  ethernets:
    eth0:
      addresses:  [10.0.0.100/24]
      dhcp4: false
      gateway4: 10.0.0.1
      nameservers:
         search: [mydomain.intern]
         addresses: [10.0.0.2, 10.0.0.3]

You need to add nameservers: and search: to your yaml file below the network interface.

I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.