Networking Dns help :|Forum: Networking Topic: Networking Dns help :| started by: Gexter Posted by Gexter on Jan. 02 2006,21:26
Hey guys I recently downloaded dsl and put it on my small server. I cant get on the internet because I dont know how to enter the DNS ip when configuring the network settings in dns. I am connecting to a router that is connecting to a computer that is sharing the connection. Could someone please guide me on how to edit the network so I could add the dns ip and then I can finaly connect to the net! Btw I am running a netgear router.
Posted by cbagger01 on Jan. 03 2006,11:54
If you are using a DHCP enabled router, then just run "netcardconfig" and choose YES for the DHCP question.Otherwise, you will need to know your provider's DNS server. If you lost your paperwork, but still have another PC running Windows that once successfully was connected, you can boot it and look up the existing DNS information in your NETWORK SETTINGS. Posted by Gexter on Jan. 20 2006,19:33
ya i know the dns ip where do i enter it when im configuring the network
Posted by larkl on Jan. 21 2006,13:11
Have you tried using ifconfig? You can look up all the details on any decent linux site.
Posted by northface on Jan. 22 2006,01:29
I think I just replied to a post similar to this one. If not,edit the /etc/resolv.conf file in the file there are a few lines nameserver 10.1.1.2 [example] Hope this helps! NorthFace Posted by tripes_inn on Jan. 22 2006,14:59
i 'm discovering monkey web server. I see your post. maybe you can help me : I've already bought a domain name. but is it possible to give a name to my IP ( dns ?) for free . Posted by northface on Jan. 22 2006,22:27
well you can configure your server to listen for web requests. //etc/resolv.conf just tells your computer where to go to for dns name resolution. if you have bought a domain name, then there would be a place to tell the registering name servers where to go to for name resolution. you can either use their name servers or set up your own. if you are using a dynamic ip address then you can check out dynamicdns which is free * the last time I checked it, it was. but that is for people that dont have a domain name registered. I know that if you use register.com for example there is a place where you can use their nameservers or set up your own. in linux you can use bind * berkeley internet name daemon [ i think ]. I am not sure if bind is included in dsl or not. if it is and you dont know how to configure it check out tldp.org that could help you out. if there is some particular thing that you run into then post back and I will see what I can do to help.NorthFace Posted by northface on Jan. 22 2006,22:47
i wish to add that if you can get to a configuration screen to use with your domain registration 1. you get the dns stuff worked out...by that I mean you either get bind to work or use their servers. 2. then you need to add a host record... www 10.1.1.2 that tells the dns servers that when a name request for www followed by your domain is requested it points it to your ip address where your web server is. then your web server will reply and serve the web page. I hope this helps. NorthFace Posted by tripes_inn on Jan. 23 2006,19:18
I give up. I don't know linux enough and install the .tar sofware make me crazy. I thought my IP can have a name as my phone number...but it was too simple :IP is dynamic, there is software for correct this. but i have understant that it's necessary to have an host anyway yes ? (ftp://ftp....) so, what can I do with dsl and mydsl extension if I want to show a webpage ? monkey is so simple i have already a web host but imagine I don't I saw this in french can we do the same ? httpd.conf : ServerName * puis, pour les virtuals hosts: NameVirtualhost * <VirtualHost *> ServerName www.monsite.net DocumentRoot /chemin/des/html </VirtualHost> <VirtualHost *> ServerName moi.monsite.net DocumentRoot /autre/chemin/des/html </VirtualHost> thanks Posted by northface on Jan. 24 2006,03:22
tripes_innjust saw your post. lets start with .tar 1. when I untared things i used example: tar -xvf file.tar 2. ip address are either static or dynamic. static ip's are ip addresses that don't change. Dynamic ip addresses are issued by a dhcp server and have leases that are set by the isp you get them from. If you have a dynamic ip address and you have a domain name then you can either, a) update the dns zone file manually everytime it changes. b) try dynamicdns or something of the sort to do it for you. "but i have understant that it's necessary to have an host anyway yes ? (ftp://ftp....)" the first part of (ftp://ftp....) tells the browser that ftp is the protocol that you are using [File Transfer Protocol] the second part is a host record located in the dns zone file for the domain. example: www 10.1.1.2 ftp 10.1.1.3 to test the monkey web server try: < http://127.0.0.1 > that should take you to a index.html page located in the root directory that monkey web server uses by default. the httpd.conf file is the configuration file that the http daemon uses for directions. It only does what you tell it to do. servername www or servername 10.1.1.2 or you could put the dynamic ip address that is issued by the isp. servername www will reference what the name of your webserver is and the websever will listen to requests that are pointed to it by the dns server. <virtualhost> is a directive that allows you to host multiple websites from the same webserver. Begin <VirtualHost *> <-- Not sure what the * is ServerName www.domain.com <-- Listens for requests DocumentRoot /chemin/des/html <-- folder where html docs are </VirtualHost> <--similar to html tags end <VirtualHost *> ServerName www1.domain.net DocumentRoot /autre/chemin/des/html </VirtualHost> I hope that this helps. I dont speak french. I hope that I understood you right. Feel free to post back and I will reply. NorthFace Posted by northface on Jan. 24 2006,03:25
tripes_innjust saw your post. lets start with .tar 1. when I untared things i used example: tar -xvf file.tar 2. ip address are either static or dynamic. static ip's are ip addresses that don't change. Dynamic ip addresses are issued by a dhcp server and have leases that are set by the isp you get them from. If you have a dynamic ip address and you have a domain name then you can either, a) update the dns zone file manually everytime it changes. b) try dynamicdns or something of the sort to do it for you. "but i have understant that it's necessary to have an host anyway yes ? (ftp://ftp....)" the first part of (ftp://ftp....) tells the browser that ftp is the protocol that you are using [File Transfer Protocol] the second part is a host record located in the dns zone file for the domain. example: www 10.1.1.2 ftp 10.1.1.3 to test the monkey web server try: (http://127.0.0.1)that should take you to a index.html page located in the root directory that monkey web server uses by default. the httpd.conf file is the configuration file that the http daemon uses for directions. It only does what you tell it to do. servername www or servername 10.1.1.2 or you could put the dynamic ip address that is issued by the isp. servername www will reference what the name of your webserver is and the websever will listen to requests that are pointed to it by the dns server. <virtualhost> is a directive that allows you to host multiple websites from the same webserver. Begin <VirtualHost *> <-- Not sure what the * is ServerName www.domain.com <-- Listens for requests DocumentRoot /chemin/des/html <-- folder where html docs are </VirtualHost> <--similar to html tags end <VirtualHost *> ServerName www1.domain.net DocumentRoot /autre/chemin/des/html </VirtualHost> I hope that this helps. I dont speak french. I hope that I understood you right. Feel free to post back and I will reply. NorthFace Posted by tripes_inn on Jan. 25 2006,10:57
first , thanks for .tar, i have make it for dyndns agent (on darweb.com) . in /tmp there is the read me, install, dyn.rc and dyndns files but where do I install software ?? and .....how ? install command want something more. but anyway if i haven't got a domain name, i have to put my IP dynamic every time it change to httpd.conf, yes ?? but I can't find httpd.conf, do i have to create it in /etc, I have tried but it 's write protect. for monkey web server, no problem. on 127.0.0.1 there is my first page that I saved on index.html in htdocs is there a mydsl extension as dyndnsagent ?? thanks Posted by northface on Jan. 25 2006,17:42
as far as the dyndns agent I havent checked that out yet.put the dynamic ipaddress in httpd.conf servername=[dynamic ip address] to find the httpd.conf * if you havent yet find / -name httpd.conf -print i havent checked out the mydsl extension stuff out yet. heres a link: < http://www.faqs.org/docs/securing/chap29sec245.html > Posted by tripes_inn on Jan. 25 2006,20:11
"find" works well butfind / httpd.conf no such file or directorie... i will create it in a new directorie /httpd and write what you've write welcome in editor world ! Posted by tripes_inn on Jan. 25 2006,21:01
it's in monkey.conf !!!
Posted by Grim on Jan. 26 2006,08:15
< No-IP >'s dynamic IP client is infintely easier to use for a newbie. DynDNS clients can be a bit touchy.As far as specifying virtual hosts and the like, it's not necessary for a single site. Just put your pages in htdocs and make sure that your router/firewall directs incoming port 80 traffic to your machine and everything should be golden (monkey runs on port 80, right?). If you're ever in a pinch for a nameserver and can't remeber the ones supplied by your ISP, use one of the root servers. ISP's may block requests to competitors nameservers but I haven't run across one yet that blocked any of the root nameservers, besides, blocking nameservers is kinda stupid and self-defeating anyways (unless to prevent DNS cache poisioning, etc.) I tend to use 4.2.2.1 and 4.2.2.2, no particular reason why, just always do. Just like I always ping google.com to make sure the network's up. Posted by tripes_inn on Jan. 27 2006,00:08
I will test this dsl extension :< http://distro.ibiblio.org/pub....sl.info > |