Home>

Thanks for your attention.

Now
https://www.rem-system.com/samba-410 -ad/
Reference
Install samba-4.10 (centrically Version 4.10.10) on CentOS7
I am trying to set.

I went from top to bottom

# samba-tool domain provision --use-rfc2307 --interactive


May be suspicious, but

7-3-1. Checking and changing DNS settings
Check the current DNS settings. DNS settings can be confirmed in resolv.conf. Use the cat command to display the settings.
# systemctl restart network


But no error is displayed

[root @ dc01 ~] # cat /etc/resolv.conf
;generated by/usr/sbin/dhclient-script
nameserver 192.168.1.1
nameserver 118.238.201.33 # Probably DNS specified by the vendor
nameserver 118.238.201.49 #Maybe DNS specified by vendor


And
https://www.rem-system.com/samba-410 -ad/
As described in

cat /etc/resolv.conf
But
search ad.rem-system.com
nameserver 127.0.0.1


It will not be ...
Well there are no items such as search from the beginning ...
If i know what to check here, can you help me?

I'm very sorry for the busy place, but I will contact you for the above.

[root @ dc01 ~] # nmcli connection modify enp3s0 ipv4.dns 127.0.0.1 ipv4.dns-search ad.ma2go.com
[root @ dc01 ~] # cat/etc/hosts
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
:: 1 localhost localhost.localdomain localhost6 localhost6.localdomain6
192.168.1.86 dc01.ad.ma2go.com #https: //www.rem-system.com/samba-410-ad/ Reference


But ...

  • Answer # 1

    It seems that resolv.conf is rewritten by the script

    /usr/sbin/dhclient-script.

    Open the

    /etc/sysconfig/network-scripts/ifcfg-NIC name file in an editor and changePEERDNS = yestoPEERDNS = noplease. In that state, try restarting the network with "systemctl restart network".

    Or, I think that it can be avoided if the IP setting that is currently DHCP is changed to fixed IP.