LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   questions about the fqdn regarding to samba, postfix and so.. (https://www.linuxquestions.org/questions/linux-newbie-8/questions-about-the-fqdn-regarding-to-samba-postfix-and-so-864949/)

fdelval 02-25-2011 04:02 AM

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

corp769 02-25-2011 04:09 AM

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.

fdelval 02-25-2011 04:13 AM

Quote:

Originally Posted by corp769 (Post 4270686)
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?

corp769 02-25-2011 04:14 AM

I'm talking about the A records of your dydns service.

fdelval 02-25-2011 06:20 AM

Quote:

Originally Posted by corp769 (Post 4270692)
I'm talking about the A records of your dydns service.

ok,

So hostname's domain can be different from samba domain?

corp769 02-25-2011 06:22 AM

Quote:

Originally Posted by fdelval (Post 4270798)
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?

corp769 02-25-2011 06:24 AM

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.

corp769 02-25-2011 06:31 AM

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....

fdelval 02-25-2011 06:46 AM

Quote:

Originally Posted by corp769 (Post 4270800)
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

corp769 02-25-2011 06:47 AM

Yes it will. Try to refrain from doing that. You only need to set up one domain name, that's all.

fdelval 02-28-2011 07:34 AM

Quote:

Originally Posted by corp769 (Post 4270823)
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?


All times are GMT -5. The time now is 10:23 AM.