Where are DNS Settings in Ubuntu 18.04 LTS?

Discussion in 'Server Operation' started by unsichtbare, Sep 26, 2019.

  1. unsichtbare

    unsichtbare Member HowtoForge Supporter

    I have come across some information that Ubuntu 18.04 stores DNS in /etc/netplan/01-netcfg.yaml ?
    My 18,.04 has the resolvconf configuration, is this wrong or counter-productive?
     
  2. ahrasis

    ahrasis Well-Known Member

    We normally create the said network file. I never use resolvconf and don't think it is necessary to manually configure it.
     
  3. unsichtbare

    unsichtbare Member HowtoForge Supporter

    Not necessary to manually configure DNS??? I've never heard that before?
     
  4. ahrasis

    ahrasis Well-Known Member

    I think my english is right as I clearly mentioned resolvconf and use it thereafter which should definitely refers to resolvconf, not dns.

    This 01-netcfg.yaml is for the server connection and we do assign our fixed server ips and preferred public dns server ip in there.

    Please do read the basic tutorial about setting this on ubuntu 18.04: https://www.howtoforge.com/tutorial/ubuntu-lts-minimal-server/2/#g0.0.7
     
    unsichtbare likes this.

Share This Page