[Samba] Fwd: Two DNS issues with samba

Rowland Penny rpenny at samba.org
Fri Jun 14 06:15:23 UTC 2024


On Fri, 14 Jun 2024 08:04:57 +0200
Ronny Preiss via samba <samba at lists.samba.org> wrote:

> Am Mo., 10. Juni 2024 um 10:14 Uhr schrieb Rowland Penny via samba <
> samba at lists.samba.org>:
> 
> > On Sun, 9 Jun 2024 13:18:10 +0200
> > Ronny Preiss via samba <samba at lists.samba.org> wrote:
> >
> > > > No need to build Samba yourself, you can find packages here:
> > > >
> > > > http://www.corpit.ru/mjt/packages/samba/
> > > How can I install these files?
> >
> > Try reading the 'README' file from the link I posted.
> >
> 
> Please excuse me, I really managed to overlook the README.
> 
> 
> >
> > >
> > > Here are the requested files from both servers.
> > >
> > > ## DC01 ##
> > >
> > > /etc/hostname
> > > 01-dc01
> > >
> > > -----
> > > /etc/hosts
> > > 127.0.0.1 localhost
> > > #127.0.1.1 01-dc01
> > >
> > > # The following lines are desirable for IPv6 capable hosts
> > > ::1     ip6-localhost ip6-loopback
> > > fe00::0 ip6-localnet
> > > ff00::0 ip6-mcastprefix
> > > ff02::1 ip6-allnodes
> > > ff02::2 ip6-allrouters
> > >
> > > 10.10.10.11     01-dc01.intern.preiss.network 01-dc01
> > > 10.10.10.12     01-dc02.intern.preiss.network 01-dc02
> >
> > You only need the actual DC info in /etc/hosts, all other dns info
> > should come from the AD dns server.
> >
> 
> The DNS Info (ip6 and the other stuff) was generated by the server
> install. I only added the last two lines with my DC's.

Yes, but you only need to the actual computer data, your dns server
should provide everything else.

> 
> 
> >
> > >
> > > -----
> > > /etc/resolv.conf
> > > nameserver 127.0.0.53
> > > options edns0 trust-ad
> > > search intern.preiss.network
> >
> > You need to get NetworkManager to set the correct information in
> > /etc/resolv.conf , this is my resolv.conf
> >
> 
> Can you explain to me why I should change from systemd-resolved to
> NetworkManager.

I just took it that you were using Network Manger, so I will now
re-write that sentence:

You need to get systemd-resolved to set the correct information in
/etc/resolv.conf

Rowland



More information about the samba mailing list