LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 07-09-2004, 08:30 AM   #1
gonus
Member
 
Registered: Apr 2002
Location: Huntsville, Alabama
Distribution: Ubuntu 9.04
Posts: 445

Rep: Reputation: 30
dns setup help requested.


hello all, I am using fedora and I am tryign to setup a dns sever for my lan. When i start to setup the dns it asks me to choose either forward reverse or slave zones. As this is just for my network to resolve internet addresses, what should I choose? Help is greatly appreciated.
 
Old 07-09-2004, 08:39 AM   #2
maxut
Senior Member
 
Registered: May 2003
Location: istanbul
Distribution: debian - redhat - others
Posts: 1,188

Rep: Reputation: 50
choose nothing. just start named. it will solve the names for u and your network.

#/etc/init.d/named start
#chkconfig --level 35 named on
 
Old 07-09-2004, 09:44 AM   #3
gonus
Member
 
Registered: Apr 2002
Location: Huntsville, Alabama
Distribution: Ubuntu 9.04
Posts: 445

Original Poster
Rep: Reputation: 30
Well I did what u said. I t's started. but heres a questions.. It's been a long time since i played with linux so i am full of these all over again. I have the linux box, setup on the cable modem , via eth0 and eth1 is to the hub. the linux box i setup succesfully as a dhcp server now. How do i share the internet connection? i thoughtt that the dns issue would fix it. it didn't.
 
Old 07-09-2004, 10:30 AM   #4
maxut
Senior Member
 
Registered: May 2003
Location: istanbul
Distribution: debian - redhat - others
Posts: 1,188

Rep: Reputation: 50
its not DNS issue.
u need NAT to share internet.
visit www.iptables-script.dk
 
Old 07-09-2004, 11:10 AM   #5
gonus
Member
 
Registered: Apr 2002
Location: Huntsville, Alabama
Distribution: Ubuntu 9.04
Posts: 445

Original Poster
Rep: Reputation: 30
ah-ha. i am a newb to dns I thought it would allow me to resolve names to the internet thus allowing me to get to it. thanx
 
Old 07-09-2004, 11:23 AM   #6
maxut
Senior Member
 
Registered: May 2003
Location: istanbul
Distribution: debian - redhat - others
Posts: 1,188

Rep: Reputation: 50
np im still newbie too :-)
 
Old 07-09-2004, 02:15 PM   #7
gonus
Member
 
Registered: Apr 2002
Location: Huntsville, Alabama
Distribution: Ubuntu 9.04
Posts: 445

Original Poster
Rep: Reputation: 30
were does the script go?
 
Old 07-09-2004, 02:38 PM   #8
gonus
Member
 
Registered: Apr 2002
Location: Huntsville, Alabama
Distribution: Ubuntu 9.04
Posts: 445

Original Poster
Rep: Reputation: 30
followed the instructions on this link. http://www.linuxquestions.org/questi...light=iptables

but now how will my windows machien know were to go? just trying to soak it all in on this weekend

edit.

I have noticed that I can not ping through to eth0 (connected to the cable modem). I can ping to eth1 thats on the hub. help is appreciated.

Last edited by gonus; 07-09-2004 at 03:00 PM.
 
Old 07-09-2004, 07:24 PM   #9
gonus
Member
 
Registered: Apr 2002
Location: Huntsville, Alabama
Distribution: Ubuntu 9.04
Posts: 445

Original Poster
Rep: Reputation: 30
not real sure n what else to do I have the iptables up and running but the windows machine can't ping through. In a bit I will post that ipt5able conf. I think it has soimethign to do with that.
 
Old 07-12-2004, 07:07 AM   #10
Ztyx
Member
 
Registered: Dec 2001
Location: Stockholm, Sweden
Distribution: Ubuntu, Kubuntu and Debian
Posts: 338

Rep: Reputation: 30
Quote:
Originally posted by gonus

but now how will my windows machien know were to go? just trying to soak it all in on this weekend
You have to change the gateway setting in windows. The gateway should be LAN-IP for the computer which is between internet and your LAN.

...also concerning the pinging - it is probably as you said that your firewall is configured to block ping requests (namely a type of packet called ICMP). If you just dump your firewall script here I can have a look at it and tell you what you should change.

/Jens

Last edited by Ztyx; 07-12-2004 at 07:10 AM.
 
Old 07-12-2004, 01:59 PM   #11
gonus
Member
 
Registered: Apr 2002
Location: Huntsville, Alabama
Distribution: Ubuntu 9.04
Posts: 445

Original Poster
Rep: Reputation: 30
Well I have the dhcp setting the default gateway now. So I am good there. I believe i have cracked the problem with pinging through. I used the script from the above link (thanx maxut) but my iprange for my home network is different. I use 20.20.20.x. Well I didn't change that in the iptable.conf. So now hopefully this will work. Will be giving that a try.

Zytx, were can i find this firewall script? you are not referring to the iptable script are u? I am a newb to networking linux. I know enough to mess stuff up
 
Old 07-13-2004, 06:11 AM   #12
Ztyx
Member
 
Registered: Dec 2001
Location: Stockholm, Sweden
Distribution: Ubuntu, Kubuntu and Debian
Posts: 338

Rep: Reputation: 30
Yes I am infact refering to the iptables script. iptables is the command line based utility in linux for tuning your firewall.

Also, when you fetched the script it is important that you enter the IP of your LAN and not use the one they have as default.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
help needed to setup a DNS server can anyone say how to configure a DNS server subha Linux - Networking 4 04-27-2012 11:50 PM
dhcp server setup help requested gonus Linux - Networking 5 07-09-2004 07:21 PM
How do I Setup DNS bsurfin Linux - Newbie 3 05-21-2004 09:05 PM
DNS how to setup? wilcoNL Linux - Newbie 2 03-28-2004 06:25 AM
I need help with DNS setup! Please! fhiggins Linux - Networking 1 10-13-2003 09:07 PM


All times are GMT -5. The time now is 03:56 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration