View previous topic :: View next topic |
Author |
Message |
Mindstab Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/187327270142f1164dc191b.jpg)
Joined: 02 Jan 2003 Posts: 271 Location: Vancouver, Canada
|
Posted: Fri Sep 17, 2004 7:32 am Post subject: DNS alias for someone else's server |
|
|
Preface: It's late and I'm tired.
Anyways
There is a certain server out there I use that has a hugh long name. Millions of characters
a pain to type
So i was thinknig since I have a domain, I could just make a CNAME in my DNS file for my domain and give it a simple shorter alias on my domain
so like
origional
serverName.domain1.domain2.tld1.tld2
and I could just go and
serverName.MyDomain.tld
But that doesnt seem to be working in bind
I have it set up as a CNAME just like any other one I use
Whats wrong, is it some authority thing that I'm missing? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
adaptr Watchman
![Watchman Watchman](/images/ranks/rank-G-2-watchman.gif)
![](images/avatars/17218567054377b9b6104ea.jpg)
Joined: 06 Oct 2002 Posts: 6730 Location: Rotterdam, Netherlands
|
Posted: Fri Sep 17, 2004 8:22 am Post subject: |
|
|
Among other things, yes.
Which of those two domains do you have authority for ?
You'd need both to be able to make that kind of link - which is not possible with an alias in any case. _________________ >>> emerge (3 of 7) mcse/70-293 to /
Essential tools: gentoolkit eix profuse screen |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
tuxmin l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/473518307438a03b302dca.jpg)
Joined: 24 Apr 2004 Posts: 838 Location: Heidelberg
|
Posted: Fri Sep 17, 2004 11:02 am Post subject: |
|
|
Why not put the IP of the server in /etc/hosts and give it a short name... works great as long as it's not a namebased webserver.
Alex!!! _________________ ALT-F4 |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
dannycool Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/32270035541ea9500e38ca.jpg)
Joined: 13 Aug 2004 Posts: 111 Location: Karlsruhe Germany
|
Posted: Fri Sep 17, 2004 12:05 pm Post subject: |
|
|
"doesn't seem to be working" - please elaborate... it should work. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Mindstab Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/187327270142f1164dc191b.jpg)
Joined: 02 Jan 2003 Posts: 271 Location: Vancouver, Canada
|
Posted: Fri Sep 17, 2004 2:04 pm Post subject: |
|
|
Ok, I'm authoritative for mindstab.net, My domain, and I run it
The computer is a school computer i got an accoutn for
gambit.instruct.shcoolname.bc.ca
I added
gambit CNAME gambit.instruct.schoolname.bc.ca.
to my mindstab.net file for bind,
but when ever I tried to ping gambit.mindstab.net
I got
ping: unknown host gambit.mindstab.net
and when
dig gambit.mindstab.net
I jsut get a response back saying that mindstab.net is authoritative but no answer section |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
adaptr Watchman
![Watchman Watchman](/images/ranks/rank-G-2-watchman.gif)
![](images/avatars/17218567054377b9b6104ea.jpg)
Joined: 06 Oct 2002 Posts: 6730 Location: Rotterdam, Netherlands
|
Posted: Fri Sep 17, 2004 2:18 pm Post subject: |
|
|
Mindstab wrote: | Ok, I'm authoritative for mindstab.net, My domain, and I run it |
Run it how ?
Is your nameserver in the .ca zone as the primary for the domain?
Mindstab wrote: | The computer is a school computer i got an accoutn for
|
...Which does not automatically mean you have the right to administer it.
Does this computer have a public IP at all ?
Mindstab wrote: | I added
gambit CNAME gambit.instruct.schoolname.bc.ca.
to my mindstab.net file for bind, |
Zone file.
It's called a zone file.
That should give you a clue right there - you cannot cross zone boundaries in assigning names.
If the computer has a public IP - which it should, since it has a global DNS record - just use the IP, please.
Mindstab wrote: | but when ever I tried to ping gambit.mindstab.net
I got
ping: unknown host gambit.mindstab.net |
Ping from where ?
Your LAN? The machine itself ?
From outside ?
Mindstab wrote: | and when
dig gambit.mindstab.net
I jsut get a response back saying that mindstab.net is authoritative but no answer section |
Where does this dig ?
From a local host, or from the nameserver, to the nameserver, or to an external nameserver ? _________________ >>> emerge (3 of 7) mcse/70-293 to /
Essential tools: gentoolkit eix profuse screen |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|