Koozali.org: home of the SME Server

Obsolete Releases => SME Server 7.x => Topic started by: kryptos on May 23, 2009, 04:38:19 AM

Title: Nameserver configuration?
Post by: kryptos on May 23, 2009, 04:38:19 AM
Hi All,

We  have SME as our main firewall/mail server and a Windows 2008 server. I have this problem or im just little confused as how to this things work. The Windows Server is PDC and also DNS server my problem is SME acts as DHCP server also whenever i try to lookup a certain PC the SME server will respond and don't want this i like MS server handles this because I have problem resolving pc specially with Windows Vista.How do I configure it instead to look up to our MS(DNS server).

Regards,
Rocel
Title: Re: Nameserver configuration?
Post by: girkers on May 23, 2009, 07:33:46 AM
Go into the Server Manager and click on Domains under Configuration, you want to set Corporate DNS settings and point it to your Win2008 server.
Title: Re: Nameserver configuration?
Post by: cactus on May 23, 2009, 11:01:31 AM
Hi All,

We  have SME as our main firewall/mail server and a Windows 2008 server. I have this problem or im just little confused as how to this things work. The Windows Server is PDC and also DNS server my problem is SME acts as DHCP server also
During installation you were asked if SME Server needed to provide DHCP as well, you should have choosen no. Luckily you can change this by login in as admin and from the console choose the option to reconfigure your server.
Title: Re: Nameserver configuration?
Post by: kryptos on May 25, 2009, 03:30:51 AM
Go into the Server Manager and click on Domains under Configuration, you want to set Corporate DNS settings and point it to your Win2008 server.

Have done this but no effects.When I check on the TCP/IP settings still sme server is the default dns server.

During installation you were asked if SME Server needed to provide DHCP as well, you should have choosen no. Luckily you can change this by login in as admin and from the console choose the option to reconfigure your server.


No I still want SME server as DCHP server. I am thinking if this can be done at the dhcp server configuration so that I could push DNS settings to individual ip settings to each client.Can some point me where to change that settings.

Regards,
Rocel
Title: Re: Nameserver configuration?
Post by: elmarconi on May 25, 2009, 08:26:12 PM
mkdir -p /etc/e-smith/templates-custom/etc/dhcpd.conf
cd /etc/e-smith/templates-custom/etc/dhcpd.conf
cp /etc/e-smith/templates/etc/dhcpd.conf/25DomainNameServers .
mcedit 25DomainNameServers

Change $LocalIP with your desired IP.

expand-template /etc/dhcpd.conf
service dhcpd restart.

In case I forgot something, please jump in!


Title: Re: Nameserver configuration?
Post by: cactus on May 25, 2009, 08:40:12 PM
mkdir -p /etc/e-smith/templates-custom/etc/dhcpd.conf
cd /etc/e-smith/templates-custom/etc/dhcpd.conf
cp /etc/e-smith/templates/etc/dhcpd.conf/25DomainNameServers .
mcedit 25DomainNameServers

Change $LocalIP with your desired IP.

expand-template /etc/dhcpd.conf
service dhcpd restart.

In case I forgot something, please jump in!
I recently was told modifying /etc/resolv.conf should not necessary, but I have not taken the effort to take it to the forums (for details see http://bugs.contribs.org/show_bug.cgi?id=5232#c4 ).