LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   problem with dns ! (https://www.linuxquestions.org/questions/linux-software-2/problem-with-dns-74499/)

vecs 07-21-2003 03:53 AM

problem with dns !
 
hello .... i have some questions regarding to dns server . Here's the situation :

I have a domnin server name for example: test.com .... and want to have another domain , for example my.test.com .... and the domain server for this to be another computer in the network running also linux ( Linux Slackware) without entering in the primary domain server (test.com) a file of configuration for my.test.com

... i just want ...that all the request sent to test.com(server) ... about the my.test.com(client) ...to be forwarded by test.com ..... to .... my.test.com .



have someoane any ideeea ?

MasterC 07-21-2003 04:02 AM

Welcome to LQ :)

Will test.com and my.test.com have different public IP's?

And is test.com and my.test.com really what you mean or do you mean example.net and test.com (meaning 2 completely different sites rather than a sub-site of the first one)?

Cool

vecs 07-21-2003 04:43 AM

yes the two hosts have different public IP's ... and as i said ....
it's just there are just an example of domains nothing more ... and i have a server , that is the DNS for ....test.com
and ... have a computer on my network that is the DNS for my.test.com ! , having his own dns ... his own configuration files ... !

help meee please !
:)

ppuru 07-21-2003 05:58 AM

you can

my IN NS ns1.my.test.com.
ns1.my IN A < IPADDRESS>

to delegate authority.

vecs 07-21-2003 11:42 AM

thanks ppuru !

but , this configuration ... must be on the "my.test.com" configuration files.
no ?
and wouldn't be something like:
my IN NS ns1.my.test.com
ns1.my IN A <IP ADRESS>

????

if i'm right .... (don't know yet ;)) ....) then on test.com , what conf. lines i must put to .... make this possible ?

or ... this lines u wrote to me ...are for the "test.com" DNS configuration files ???

thank's for u're time !

vecs 07-22-2003 03:52 AM

could someone explain ....., if not much trouble !? ... the lines above ?

ppuru 07-22-2003 04:42 AM

The above 2 lines should be on the parent domain, test.com

my IN NS ns1.my.test.com

creates and delegates a new domain "my" under test.com whose nameserver is ns1.my.test.com.

ns1.my IN A <IP addr of my.test.com's dns server>

vecs 07-22-2003 01:31 PM

a ... k


then i must put sone lines in the parent domain ... to named.conf ... for my.test.com .... pointing to a file ...with the lines above .

no ?
or , this lines could be entered directly in "test.com" .... conf. file of the domain server.
????
thank's very much ppuru!


All times are GMT -5. The time now is 04:57 PM.