Koozali.org: home of the SME Server

Questions about Public DNS Server HOWTO for Mitel Networks S

Arjay

Questions about Public DNS Server HOWTO for Mitel Networks S
« on: August 31, 2003, 01:21:01 AM »
"Assumptions:

These instructions assume you have a 2 static IP number (111.222.0.3, 111.222.0.4)"

1.) if for instance i only have 1 static ip address, but i have zodeedit to act as my secondary dns, will this howto work for me?

2.) my sme5.6 box is currently using cs2.homelinux.com as its main domain name, if ill host my own domain which is arjay.com.ph, do i have to change my sme5.6 box's main domain name to arjay.com.ph?


3.)the other day i tried to configure my sme box using this howto, but then after ive done all of them, three things happend in different instances or everytime i reboot the server:
    1.) my box dont have an internet connection anymore or in a way, i cant connect to my dsl isp anymore but there was no problem with my isp.
    2.) the server have a net connection but i, which is a client of the sme server, dont have any internet connection.
    3.)i can connect to irc but i cant even go to google.com

---> my question is that do i have to change the gateway ip and DNS server search order ip in win98's Network properties and put my static public ip address instead of my sme box's private address?

after experiencing those problems in question #3, i tried to restore my backup but after rebooting when backing up was finished, same problems arise to i was force to do a fresh install.

Andrew Hodgson

Re: Questions about Public DNS Server HOWTO for Mitel Networ
« Reply #1 on: August 31, 2003, 03:05:18 AM »
Arjay wrote:
>
> "Assumptions:
>
> These instructions assume you have a 2 static IP number
> (111.222.0.3, 111.222.0.4)"
>
> 1.) if for instance i only have 1 static ip address, but i
> have zodeedit to act as my secondary dns, will this howto
> work for me?

Yes.
>
> 2.) my sme5.6 box is currently using cs2.homelinux.com as its
> main domain name, if ill host my own domain which is
> arjay.com.ph, do i have to change my sme5.6 box's main domain
> name to arjay.com.ph?

Not sure on this one, but from what I have read it would seem quite sensible.
>
>
> 3.)the other day i tried to configure my sme box using this
> howto, but then after ive done all of them, three things
> happend in different instances or everytime i reboot the
> server:
>     1.) my box dont have an internet connection anymore or in
> a way, i cant connect to my dsl isp anymore but there was no
> problem with my isp.
>     2.) the server have a net connection but i, which is a
> client of the sme server, dont have any internet connection.
>     3.)i can connect to irc but i cant even go to google.com

Sounds like no DNS server got started - you could connect to ip addresses but not resolve hostnames.
>
> ---> my question is that do i have to change the gateway ip
> and DNS server search order ip in win98's Network properties
> and put my static public ip address instead of my sme box's
> private address?

You should just be able to keep the SME server DNS as your primary DNS, but I never got the howto to work for me either, maybe I am just unlucky :0

Andrew.

Arjay

Re: Questions about Public DNS Server HOWTO for Mitel Networ
« Reply #2 on: August 31, 2003, 05:03:47 AM »
the problems in question #3 is there again. i thought of putting the sme box's external ip then it worked normally.

its still carring its default hostname cs2.counterstrike-cafe.ph. then as you adviced, i changed the main domain name to arjay.com.ph, everything dont work again so i put it default domain name back again and everything seems back to normal.

then i tried to add arjay.com.ph as a virtual host... those said problems showed up once more so i deleted arjay.com.ph as virtual host and its back to normal.

so now can i conclude that the domain name you are adding should be the main domain name and it should be a virtual host either?

one problem though, if i browse to www.arjay.com.ph using www.megaproxy.com to see if its working... the answer is that it cannot resolve arjay.com.ph. :-(  is this normal? should i wait for a little while for the dns to upade?

here is a part when i did a cat /var/log/messages:

Aug 31 00:06:50 Cs2MainServer named[2374]: starting BIND 9.2.1 -f -u dns -t /home/dnsni\:3457\:respawn\:/usr/sbin/named -f -u dns -t /home/dns -c /etc/named.conf
Aug 31 00:06:50 Cs2MainServer named[2374]: using 1 CPU
Aug 31 00:06:50 Cs2MainServer named[2375]: starting BIND 9.2.1 -f -u dns -t /home/dns -c /etc/named-ext.conf
Aug 31 00:06:50 Cs2MainServer named[2375]: using 1 CPU
Aug 31 00:06:50 Cs2MainServer named[2381]: loading configuration from '/etc/named-ext.conf'
Aug 31 00:06:50 Cs2MainServer named[2378]: loading configuration from '/etc/named.conf'
Aug 31 00:06:50 Cs2MainServer named[2381]: no IPv6 interfaces found
Aug 31 00:06:50 Cs2MainServer named[2378]: no IPv6 interfaces found
Aug 31 00:06:50 Cs2MainServer named[2381]: listening on IPv4 interface eth1, 202.133.204.50#53
Aug 31 00:06:50 Cs2MainServer named[2378]: listening on IPv4 interface lo, 127.0.0.1#53
Aug 31 00:06:50 Cs2MainServer named[2381]: command channel listening on 127.0.0.1#953
Aug 31 00:06:50 Cs2MainServer named[2381]: zone arjay.com.ph/IN: has no NS records
Aug 31 00:06:50 Cs2MainServer named[2381]: running
Aug 31 00:06:50 Cs2MainServer named[2378]: listening on IPv4 interface eth0, 192.168.2.59#53
Aug 31 00:06:50 Cs2MainServer named[2378]: couldn't add command channel 127.0.0.1#953: address in use
Aug 31 00:06:50 Cs2MainServer named[2378]: zone 0.0.127.in-addr.arpa/IN: loaded serial 1997022700
Aug 31 00:06:51 Cs2MainServer named[2378]: zone 2.168.192.in-addr.arpa/IN: loaded serial 2003083100
Aug 31 00:06:51 Cs2MainServer named[2378]: zone cs2.homelinux.com/IN: loaded serial 2003083100
Aug 31 00:06:51 Cs2MainServer named[2378]: zone localhost/IN: loaded serial 42
Aug 31 00:06:51 Cs2MainServer named[2378]: zone arjay.com.ph/IN: has no NS records
Aug 31 00:06:51 Cs2MainServer named[2378]: zone Cs2.CounterStrike-cafe.ph/IN: loaded serial 2003083100
Aug 31 00:06:51 Cs2MainServer named[2378]: running


> Aug 31 00:06:51 Cs2MainServer named[2378]: zone arjay.com.ph/IN: has no NS records   <---- what does this mean?

Arjay

Re: Questions about Public DNS Server HOWTO for Mitel Networ
« Reply #3 on: August 31, 2003, 05:11:44 AM »
[root@Cs2MainServer root]# pidof named
2383 2382 2381 2380 2379 2378 2377 2376 2375 2374
[root@Cs2MainServer root]# iptables -L | grep "domain"
           udp  --  anywhere             202.133.204.50     udp dpt:domain
           tcp  --  anywhere             202.133.204.50     tcp dpt:domain
[root@Cs2MainServer root]#

Tony Howden

Re: Questions about Public DNS Server HOWTO for Mitel Networ
« Reply #4 on: September 02, 2003, 12:23:51 PM »
Hi All

I've been working on the public DNS stuff and while this may not answer the above issues directly, I did find a number of things that I needed to do to get the public dns working.

I've written it up on my web site

http://www.marblebay.com.au/modules.php?op=modload&name=Sections&file=index&req=viewarticle&artid=1&page=1

Have a read and I'd appreciate feedback on your success or otherwise.

cheers
Tony

Arjay

Re: Questions about Public DNS Server HOWTO for Mitel Networ
« Reply #5 on: September 02, 2003, 03:28:41 PM »
what was talking about the Public DNS Server HOWTO for Mitel Networks SME Server 5.6 Written by Allen (admin@allenscomputing.com).

found in e-smith.org's contributed howtos:
http://www.e-smith.org/docs/howto/contrib/dual_dns.html


Tony, could you list the commands youve used in your every step? coz im still a newbie and it will make may server go shittie again like i first installed Jason's Dns script. by the way, im using a sme5.6u4 server and havent touched my dns coz im not sure which one to use... Janson's DNS howto or allen's DNS howto.

allen havent replied yet since i emailed him last week

Jason Benedict

Re: Questions about Public DNS Server HOWTO for Mitel Networ
« Reply #6 on: September 23, 2003, 04:38:22 PM »
You mya use my contribute and enhance using Tony (he did a great job on it.) By The way i did also done and packaged Tony contribute install script for 5.5 but i add-on for 5.6 as well.

Ta!

Arjay

Re: Questions about Public DNS Server HOWTO for Mitel Networ
« Reply #7 on: September 23, 2003, 08:35:46 PM »
so where can it be found? can u give the url pls?