LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   complete noob questions (https://www.linuxquestions.org/questions/linux-software-2/complete-noob-questions-331352/)

stonecutter 06-07-2005 06:23 PM

complete noob questions
 
hello-
i'm not even a noob yet, but here's my questions/scenario.

i have a small network that is all microsoft (mail/dns/dhcp etc.) and i hate all the bugs and quirks. i'm looking to move to linux to help with stability.

i'm wondering how the infrastructure works on a linux servers. i'd like to run a linux mail server and dns/dhcp at the least. and probably not change any of the desktop side. so can i run Outlook on the desktop and still run linux mail server? and are there any ramifications of speed or compatibility with respect to the desktop side?

any suggestions or info is appreciated.
thanks.

win32sux 06-07-2005 07:05 PM

welcome to LQ!!!

yeah, you can use windows outlook clients with linux mail servers...

for simple dns/dhcp, take a look at dnsmasq: http://thekelleys.org.uk/dnsmasq/doc.html

for full-blown dns check-out bind: http://www.isc.org/sw/bind/

for the mail server maybe look at postfix: http://www.postfix.org/

the sites should have some good links to documentation...

i recommend you use a test box to build your linux skills on first before you go "live" with the linux server... if you are "not even a noob yet" then there's PLENTY of reading and practicing ahead of you before you get to the point where you can safely handle these kinda projects...

this is your new best friend: http://www.google.com/linux

of course this website (LQ) is also one of the greatest resources available for linux users, and it's good you've opened an account here...

i wish you the best buddy, and once again: WELCOME!!! :)

stonecutter 06-07-2005 07:33 PM

hey win32sux-
thanks a ton for the info. i'll look into those site. my boss will be paying for any training or classes i want, and i can drum up some test servers to build a test domain.
i'm sure you'll see me here a lot.
thanks again-

-stoney

stonecutter 06-08-2005 11:54 AM

quick question-
the first thing i'd like to do is turn off my microsuk DNS and use linux. i'm wondering if i can easily (a relative term, i know!) integrate that solution.

-stoney

win32sux 06-08-2005 12:27 PM

what would you need the DNS daemon to do?? like, is it just for providing DNS service to the LAN, or are you running full-blown DNS servers on the Internet??

stonecutter 06-08-2005 12:30 PM

just LAN application. i've been chasing bad DNS issues for a year, and have even had 2 consultants look at it. to no avail.

i have a LAN with 2 spoke sites that have a dedicated VPN using a T1. there's only about 15 nodes on the LAN, 2 nodes at each spoke.

win32sux 06-08-2005 12:45 PM

okay then what you want is probably dnsmasq...

read the description at the website and i think you'll agree it fits your needs...

BTW, it's one of the easiest programs to run on linux...

basically speaking, once you have it installed, it's just a matter of executing the command:
Code:

dnsmasq
it will then start listening on port 53/UDP and providing DNS to your LAN (of course there's several options you can provide the command with)... it will use your ISP's DNS servers as listed in /etc/resolv.conf... to add LAN DNS entries just add them to the /etc/hosts file and they will be made available to the LAN... the format is the usual (IP host.domain alias), for example:
Code:

192.168.2.11 pc11.zone2 pc11
i have been using dnsmasq on some windows LANs for a while and i am very happy with it...

the command i use to start dnsmasq is usually:
Code:

dnsmasq -o -r /etc/resolv.masq
the "-r resolv.masq" tells it to use the DNS servers i've placed in the file resolv.masq (instead of the default /etc/resolv.conf) and the "-o" just tells it to use the servers in strict order... nothing fancy...

i've also configured my firewall (netfilter/iptables) to allow incoming DNS queries to the dnsmasq box only on the LAN interface and only from the LAN IP's and MAC addresses...


stonecutter 06-08-2005 12:52 PM

you are KING!
fantastic.
i'll do my research and blast my boss with it. i'm sure he'll have no problem with it.
this just made my day.

-stoney

win32sux 06-08-2005 12:59 PM

no problem man, let me know how it goes... any other questions you have about the DNS and DHCP linux services i'll be glad to help... as for the mail service, i kinda suck at that and don't have much experience but i'll do my best to point you in the right direction and either way there's other (more experienced) folks subscribed to this thread which can give you a hand also so you will be fine... good luck man, i wish you the best with your linux project!!! ;)

BTW, i've never used dnsmasq's DHCP capabilities... i always just use the standard DHCP daemon (the one which is included in almost every distro): http://www.isc.org/sw/dhcp/ it's also really simple to set-up...



All times are GMT -5. The time now is 10:21 PM.