LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Reply
  Search this Thread
Old 07-22-2005, 02:20 AM   #1
shadowsa
Member
 
Registered: Jul 2005
Posts: 149

Rep: Reputation: 15
Easy DNS Setup for dummies?????


Hi to all, i would need help on setup for bind i have 9.3.1 installed on suse linux 9.3 i have really no idea about how to set up DNS correctly, my point of all this action is to setup a mailserver actually i dont really care wich one i use i just want to make it run, i have a no-ip domain i read things about MX records and so on, but i have really no idea. i prefer to use an imap server, actually i have postfix and courier already installed, but thats it., thank you in advance very very much, becouse i really i dont find that thing with setup mailserver with CNAME'S i dont know even if im right about CNAME, it would be wonderfull if you could help with a step by step instruction.
thanks again.
Also i want to make a really very good howto after i finished my setup and it is working.

Last edited by shadowsa; 07-25-2005 at 12:42 AM.
 
Old 07-25-2005, 11:59 AM   #2
shadowsa
Member
 
Registered: Jul 2005
Posts: 149

Original Poster
Rep: Reputation: 15
somebody please help?
 
Old 07-27-2005, 08:10 AM   #3
shadowsa
Member
 
Registered: Jul 2005
Posts: 149

Original Poster
Rep: Reputation: 15
bind is very complicated, plese help for an easy setup
 
Old 07-27-2005, 10:37 AM   #4
ghight
Member
 
Registered: Jan 2003
Location: Indiana
Distribution: Centos, RedHat Enterprise, Slackware
Posts: 524

Rep: Reputation: 30
CNAMES are used to give your local machine 2 different names in DNS. For example if you have a machine that is a mail server and a DNS server, you can give it the name "mail.domain.net" and "ns.domain.net" so it's easier for people to find servers using the "standard" mail server and DNS server names.

It's not clear what exactly you need. Can you be specific?

BTW, CNAMES are completey optional. If you know what your mail server name is and nobody else would need to "guess" what it is, then just use whatever name you gave it originally. For example, if it's coolcomp.domainname.org, just use that. Use the Yast tools to set up DNS. It's as easy as it gets!
 
Old 07-27-2005, 01:38 PM   #5
shadowsa
Member
 
Registered: Jul 2005
Posts: 149

Original Poster
Rep: Reputation: 15
thank you very much for the reply, actually im not even sure if i need a DNS server or not but i think i need an MX record, ok fact is i installed the client for updating my ip and syncing with their nameserver that no-ip client and want to set up a mailserver using a no-ip domain (free subdomain) i, wich name is kqmq.hopto.org and the mail servers name should be(pop) mail.kqmq.hopto.org and the smtp (smtp.kqmq.hopto.org) is this possible and if yes what do i need to do, thank you very very much for the reply.
im really happy becouse somebody replys
 
Old 07-27-2005, 02:21 PM   #6
ghight
Member
 
Registered: Jan 2003
Location: Indiana
Distribution: Centos, RedHat Enterprise, Slackware
Posts: 524

Rep: Reputation: 30
I think you need to setup an MX record with your no-ip account provider. They should have instructions on the website. Local DNS provided by you is not required for what you need. Unfortuantely, becuase it's there own service, I don't know a whole lot about it.

Good Luck
 
Old 07-28-2005, 07:31 AM   #7
shadowsa
Member
 
Registered: Jul 2005
Posts: 149

Original Poster
Rep: Reputation: 15
hrmm, on their webpage where i have my configuration for the subdomain, there is a field wich says "Enter the name of your external mail exchangers (mx records), as hostnames not IP addresses."
and i can enter 5 different mx records, with priority, they have additional a service wich is a must to purchase, for mx and dns things, but i want to use that totally free option, thank you in advance.
 
Old 07-28-2005, 08:19 AM   #8
ghight
Member
 
Registered: Jan 2003
Location: Indiana
Distribution: Centos, RedHat Enterprise, Slackware
Posts: 524

Rep: Reputation: 30
That sounds like what you'll need to do. You will need to have a mail server setup, but it looks like DNS is not required locally. That's been my limited experience with other dynamic DNS services as well. Give your mail server an address record then use that name as the MX record as well. From there you need to setup your router/firewall (if you have one) to "port forward" the imap or pop ports to your mail server.

By the way, in DNS a "mail exchanger" is a mail server, just in case it's not clear.
 
Old 07-29-2005, 01:37 PM   #9
shadowsa
Member
 
Registered: Jul 2005
Posts: 149

Original Poster
Rep: Reputation: 15
thank you very much for the help deeply from my heart , where can i set up the adress record for my mailserver?
 
Old 07-29-2005, 02:01 PM   #10
ghight
Member
 
Registered: Jan 2003
Location: Indiana
Distribution: Centos, RedHat Enterprise, Slackware
Posts: 524

Rep: Reputation: 30
That should all be able to be taken care of on the website of your noip provider. Unfortunately, I cant tell you anything specific because I don't know a lot about your provider, but typically you'll get 5 free address records.

When you setup your dynamic DNS you had to select a name for you network. You can just use the host name you have them as the MX record as well. That will send all your data to your router. When your router receives it, it will then try to find where it needs to be sent to. You will have to setup your router to port forward your mail ports to an internal 192.168.XXX.XXX address, the address of the computer with the mail server on it. Mail will always come in on the same port so your router can handle that if you tell it what its supposed to do with data received on that port.

Last edited by ghight; 07-29-2005 at 02:02 PM.
 
Old 07-29-2005, 02:21 PM   #11
shadowsa
Member
 
Registered: Jul 2005
Posts: 149

Original Poster
Rep: Reputation: 15
thanks again, ic ive done this already but where i have to setup the mailservername for my mailserver on my server? in wich file or config file, i mean where, im using courier mailserver with postfix, thank you in advance
 
Old 07-29-2005, 03:36 PM   #12
ghight
Member
 
Registered: Jan 2003
Location: Indiana
Distribution: Centos, RedHat Enterprise, Slackware
Posts: 524

Rep: Reputation: 30
The myhostname variable in /etc/postfix/main.cf
 
Old 07-31-2005, 12:02 PM   #13
shadowsa
Member
 
Registered: Jul 2005
Posts: 149

Original Poster
Rep: Reputation: 15
after doing your instructions im getting the following error

Code:
Aug  1 01:58:00 mail postfix/smtpd[7242]: connect from localhost[::1]
Aug  1 01:58:01 mail postfix/smtpd[7242]: 4BC541D224: client=localhost[::1]
Aug  1 01:58:01 mail postfix/cleanup[7245]: 4BC541D224: message-id=<200508010158.00631.shadow@kqmq.hopto.org>
Aug  1 01:58:01 mail postfix/qmgr[6850]: 4BC541D224: from=<shadow@kqmq.hopto.org>, size=499, nrcpt=2 (queue active)
Aug  1 01:58:01 mail postfix/smtpd[7242]: disconnect from localhost[::1]
Aug  1 01:58:01 mail postfix/smtp[7246]: 4BC541D224: to=<kqmq@kcc.zaq.ne.jp>, relay=none, delay=0, status=bounced (Host or domain name not found. Name service error for name=kcc.zaq.ne.jp type=AAAA: Host found but no data record of requested type)
Aug  1 01:58:02 mail postfix/smtp[7276]: 4BC541D224: to=<kqmq@zaq.kcc.ne.jp>, relay=none, delay=1, status=bounced (Host or domain name not found. Name service error for name=zaq.kcc.ne.jp type=AAAA: Host not found)
Aug  1 01:58:02 mail postfix/cleanup[7245]: 61EF01D3AC: message-id=<20050731165802.61EF01D3AC@kqmq.hopto.org>
Aug  1 01:58:02 mail postfix/qmgr[6850]: 61EF01D3AC: from=<>, size=2692, nrcpt=1 (queue active)
Aug  1 01:58:02 mail postfix/qmgr[6850]: 4BC541D224: removed
Aug  1 01:58:02 mail postfix/smtp[7246]: 61EF01D3AC: to=<shadow@kqmq.hopto.org>, relay=none, delay=0, status=bounced (Host or domain name not found. Name service error for name=mail.kqmq.hopto.org type=AAAA: Host not found)
Aug  1 01:58:02 mail postfix/qmgr[6850]: 61EF01D3AC: removed
please help, and thank you in advance
 
Old 08-01-2005, 09:01 AM   #14
ghight
Member
 
Registered: Jan 2003
Location: Indiana
Distribution: Centos, RedHat Enterprise, Slackware
Posts: 524

Rep: Reputation: 30
Unfortunately, it looks like I'm at a disadvantage because I can't see how exactly you setup your DNS with the provider. It looks however that none of your DNS queries worked. Are they real addresses?
 
Old 08-01-2005, 02:11 PM   #15
shadowsa
Member
 
Registered: Jul 2005
Posts: 149

Original Poster
Rep: Reputation: 15
yes they are real adresses, what can i do?
 
  


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
SUSE Linux 9.3 for Dummies (For Dummies S.) samuelmp SUSE / openSUSE 11 08-01-2005 01:42 PM
Linux4RegularGuys - EASY FTP setup using vsftpd - READ THIS FOR EASY HELP DropHit Linux - Networking 4 11-25-2004 02:44 PM
Easy setup for "DNS, DHCP, squid, qmail, samba, etc " mobassir Linux - Software 8 08-18-2004 07:31 AM
Easy DNS Question bconverse Linux - Networking 2 03-19-2004 11:34 AM
Recommended NIC For Easy Linux Setup? Petersko Linux - Wireless Networking 3 01-05-2004 02:59 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

All times are GMT -5. The time now is 01:56 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration