SUSE / openSUSE This Forum is for the discussion of Suse Linux. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
|
07-22-2005, 02:20 AM
|
#1
|
Member
Registered: Jul 2005
Posts: 149
Rep:
|
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.
|
|
|
07-25-2005, 11:59 AM
|
#2
|
Member
Registered: Jul 2005
Posts: 149
Original Poster
Rep:
|
somebody please help?
|
|
|
07-27-2005, 08:10 AM
|
#3
|
Member
Registered: Jul 2005
Posts: 149
Original Poster
Rep:
|
bind is very complicated, plese help for an easy setup
|
|
|
07-27-2005, 10:37 AM
|
#4
|
Member
Registered: Jan 2003
Location: Indiana
Distribution: Centos, RedHat Enterprise, Slackware
Posts: 524
Rep:
|
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!
|
|
|
07-27-2005, 01:38 PM
|
#5
|
Member
Registered: Jul 2005
Posts: 149
Original Poster
Rep:
|
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
|
|
|
07-27-2005, 02:21 PM
|
#6
|
Member
Registered: Jan 2003
Location: Indiana
Distribution: Centos, RedHat Enterprise, Slackware
Posts: 524
Rep:
|
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
|
|
|
07-28-2005, 07:31 AM
|
#7
|
Member
Registered: Jul 2005
Posts: 149
Original Poster
Rep:
|
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.
|
|
|
07-28-2005, 08:19 AM
|
#8
|
Member
Registered: Jan 2003
Location: Indiana
Distribution: Centos, RedHat Enterprise, Slackware
Posts: 524
Rep:
|
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.
|
|
|
07-29-2005, 01:37 PM
|
#9
|
Member
Registered: Jul 2005
Posts: 149
Original Poster
Rep:
|
thank you very much for the help deeply from my heart , where can i set up the adress record for my mailserver?
|
|
|
07-29-2005, 02:01 PM
|
#10
|
Member
Registered: Jan 2003
Location: Indiana
Distribution: Centos, RedHat Enterprise, Slackware
Posts: 524
Rep:
|
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.
|
|
|
07-29-2005, 02:21 PM
|
#11
|
Member
Registered: Jul 2005
Posts: 149
Original Poster
Rep:
|
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
|
|
|
07-29-2005, 03:36 PM
|
#12
|
Member
Registered: Jan 2003
Location: Indiana
Distribution: Centos, RedHat Enterprise, Slackware
Posts: 524
Rep:
|
The myhostname variable in /etc/postfix/main.cf
|
|
|
07-31-2005, 12:02 PM
|
#13
|
Member
Registered: Jul 2005
Posts: 149
Original Poster
Rep:
|
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
|
|
|
08-01-2005, 09:01 AM
|
#14
|
Member
Registered: Jan 2003
Location: Indiana
Distribution: Centos, RedHat Enterprise, Slackware
Posts: 524
Rep:
|
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?
|
|
|
08-01-2005, 02:11 PM
|
#15
|
Member
Registered: Jul 2005
Posts: 149
Original Poster
Rep:
|
yes they are real adresses, what can i do?
|
|
|
All times are GMT -5. The time now is 01:56 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|