Koozali.org: home of the SME Server

Nameserver configuration?

Offline kryptos

  • *****
  • 245
  • +0/-0
Nameserver configuration?
« 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

Offline girkers

  • *
  • 296
  • +0/-0
    • gk computer services
Re: Nameserver configuration?
« Reply #1 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.

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: Nameserver configuration?
« Reply #2 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.
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)

Offline kryptos

  • *****
  • 245
  • +0/-0
Re: Nameserver configuration?
« Reply #3 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

Offline elmarconi

  • ****
  • 139
  • +0/-0
Re: Nameserver configuration?
« Reply #4 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!


...

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: Nameserver configuration?
« Reply #5 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 ).
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)