Jump to content

DNS problems


AA
 Share

Recommended Posts

My network hosts it's web page with the ISP while our mail comes directly to us.

Lets call the web page www.zasco.co.za

The server qwerty.zasco.co.za

The server acts as a firewall, proxy, gateway, dns, mail and a couple of others including http.

Now when logged in at a workstation, if you type www.zasco.co.za in you browser address bar you get a returned message saying the page cannot be displayed.

The server says, wait a minute, my name is zasco.co.za but there is no web page here and hence the error message.

Now, what I want to know is, what must I do in order to get the workstations behind the server to view the web page.

The server is not a mandrake box, its an e-smith box and the workstations are all win2K machines.

 

Can someone help...?

Link to comment
Share on other sites

Well could you please tell me how to set the DNS server then, because I have been trying all sorts of weird things to get it to work and I am not being succesful. What exactly must I do in order to set the DNS server to point to a different host...??

Link to comment
Share on other sites

@               IN      SOA     ns1.yournameserverhere.com. netadmin.yournameserverhere.com. (

                               2002140101     ; serial

                               10800  ; refresh

                               3600   ; retry

                               604800 ; expire

                               43200 ); minimum TTL



@               IN      NS     ns.yournameserverhere.com.

@               IN      NS      ns2.yournameserverhere.com.



# (your local mail server)

mail            172800  IN      A       192.168.1.x 



# (your remote IP address for the website)

@                       IN      A       202.x.x.x

www                     IN      A       202.x.x.x



# (local mail server)

pop3                    IN      A      192.168.1.x

smtp                    IN      A       192.168.1.x





yourdomain.com.     86400   IN      A       192.168.1.x

               86400   IN      MX 0    mail.yourdomain.com.

Link to comment
Share on other sites

Where must that go....???

/var/named/yourdomain ????

 

I have this in /var/named/xxxnet.co.za

 

$ORIGIN co.za.

xxxnet      86400 IN      SOA  mail.ccdweb.co.za. dns@ccdweb.co.za. (

                2001012216 21600 3600 3600000 86400 )

                86400 IN      NS      name.ccdweb.co.za.

                86400 IN      NS      mail.ccdweb.co.za.

                86400 IN      MX      0 mail.xxxnet.co.za.

$ORIGIN xxxnet.co.za

name          86400 IN      A        196.**.***.**

localhost        86400 IN      A        127.0.0.1

mail            86400 IN      A        66.*.**.***

www              86400 IN      A        196.**.***.**

loopback        86400 IN      CNAME localhost.xxxnet.co.za.

route          86400 IN      A        196.**.***.***

 

I hashed out ip's and changed the domain name of my network to xxxnet.co.za for my own network safety. (for obvious reasons)

But the www points to the the ip of the web-server

and the others to their respective ips and stuff...!!

 

The ISP dude said I should do this, which I did and it still aint working.

 

He then said I should just use his DNS server and then I should be able to pick up our page... tried that, set the DNS address to his server and that also is not working....

 

HELP !!

Link to comment
Share on other sites

Guest mywebforums.com

It would appear that you trying to call your website up by a non-routable IP? Is this the case, if so, this is where you error is.

 

You have to specify a real IP in your named file or else it won't go anywhere. When the request comes into the firewall, NAT Device or whatever else you may have setup in front, it Port Forwards the request to the Internal network and sends back the information requested.

 

It is critical that you have your real world IP setup in the DNS file or else you'll be pulling your gray hairs out for months to come.

 

Regards,

 

myWebForums.com

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...