LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-25-2011, 05:02 AM   #1
fdelval
Member
 
Registered: Feb 2010
Posts: 107

Rep: Reputation: 15
questions about the fqdn regarding to samba, postfix and so..


Hello all,

I have a dinamic ip, with a dyndns free acount, called:

mypc.kicks-butts.com

When i installed my debian, it asked me for a domain, i gave it:

WORKGROUP

Also, i have a samba setup with a domain called:

RR.local

And now, i want to install a postfix server, reacheable from the outside and inside...


Questions:
1)
Must samba's domain name and operative system install domain be the same?

2)
If i want to set it up to work inside and outside my lan, i guess that " .local " suffix should change to a .com .net etc...

3)
I guess my free dyndns account "mypc.kicks-butts.com" should mach my samba and my host's domain name in order to work with the postfix?


Im confused
 
Old 02-25-2011, 05:09 AM   #2
corp769
LQ Guru
 
Registered: Apr 2005
Posts: 5,817

Rep: Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002
As far as your questions, the domain does not have to be the same. You just need reflect the changes to your IP via your provider in the A records. That being said, it will just redirect to your IP, and you can go from there.
 
Old 02-25-2011, 05:13 AM   #3
fdelval
Member
 
Registered: Feb 2010
Posts: 107

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by corp769 View Post
As far as your questions, the domain does not have to be the same. You just need reflect the changes to your IP via your provider in the A records. That being said, it will just redirect to your IP, and you can go from there.
i dont understand it, im just starting in this DNS world.

I guess "A" stands for a record in the DNS? what if i have a DNS installed in the same box?
 
Old 02-25-2011, 05:14 AM   #4
corp769
LQ Guru
 
Registered: Apr 2005
Posts: 5,817

Rep: Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002
I'm talking about the A records of your dydns service.
 
Old 02-25-2011, 07:20 AM   #5
fdelval
Member
 
Registered: Feb 2010
Posts: 107

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by corp769 View Post
I'm talking about the A records of your dydns service.
ok,

So hostname's domain can be different from samba domain?
 
Old 02-25-2011, 07:22 AM   #6
corp769
LQ Guru
 
Registered: Apr 2005
Posts: 5,817

Rep: Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002
Quote:
Originally Posted by fdelval View Post
ok,

So hostname's domain can be different from samba domain?
Are you trying to say that you are attempting to access your samba domain via a dynamic hostname, correct?
 
Old 02-25-2011, 07:24 AM   #7
corp769
LQ Guru
 
Registered: Apr 2005
Posts: 5,817

Rep: Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002
Just as long as the hostname from your dydns account reflects the IP to your server, you will be able to access anything on your server, regardless.
 
Old 02-25-2011, 07:31 AM   #8
corp769
LQ Guru
 
Registered: Apr 2005
Posts: 5,817

Rep: Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002
Quote:
mypc.kicks-butts.com
I have refrained myself, but now I really have to ask... Is this really your domain name? If it is, I need to correct you on something... It would be kicks-butt, not kicks-butts, because butt can be used in a tense of being plural. Just to put it out there....
 
Old 02-25-2011, 07:46 AM   #9
fdelval
Member
 
Registered: Feb 2010
Posts: 107

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by corp769 View Post
Are you trying to say that you are attempting to access your samba domain via a dynamic hostname, correct?


mmm no, my objetives are much more basic.
p.s., its kicks-butt, your true

I want to set up a DNS server, a SAMBA PDC, and postfix, and also you know, understand the hostname fqdn.

I had the doub that having 4 different domains (1 for DNS, 1 for SAMBA, 1 for postfix, 1 for the host) may produce problems
 
Old 02-25-2011, 07:47 AM   #10
corp769
LQ Guru
 
Registered: Apr 2005
Posts: 5,817

Rep: Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002
Yes it will. Try to refrain from doing that. You only need to set up one domain name, that's all.
 
Old 02-28-2011, 08:34 AM   #11
fdelval
Member
 
Registered: Feb 2010
Posts: 107

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by corp769 View Post
Yes it will. Try to refrain from doing that. You only need to set up one domain name, that's all.
Ey, im back on track this monday after a little time off.
So, lets say that if i chose:

example.local as my domain name, my server's outputs should be:


hostname -f ---------> server.example.local
samba workgroup -----> WORKGROUP = example.local
postfix mail server -> wont work because of the local suffix
dns -----------------> wonr work because i should register a example.COM domain

am i close?
 
  


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
Postfix Appends FQDN to Senders Address carlosinfl Linux - Server 1 05-17-2009 09:57 PM
Postfix,Open web mail Mail Server Hostname /FQDN Porblem farrukhndm Linux - Server 7 02-18-2009 07:35 PM
postfix without FQDN eyt Linux - Newbie 2 11-30-2007 10:16 PM
Postfix still accepting non FQDN PcPixel Linux - Server 3 11-21-2007 09:22 PM
POSTFIX and not fqdn gabsik Linux - Networking 3 05-10-2006 08:23 AM


All times are GMT -5. The time now is 03:31 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration