Linux Help
guides forums blogs
Home Desktops Distributions ISO Images Logos Newbies Reviews Software Support & Resources Linuxhelp Wiki

Welcome Guest ( Log In | Register )



Advanced DNS Management
New ZoneEdit. New Managment.

FREE DNS Is Back

Sign Up Now
 
Reply to this topicStart new topic
> Dns Problems
Robert83
post Jan 9 2005, 09:36 AM
Post #1


Its GNU/Linuxhelp.net
*******

Group: Support Specialist
Posts: 1,439
Joined: 3-January 04
From: Germany
Member No.: 2,069



Hello,

I've set up a internal dns server, it's working ok , I did it so my local users can access 192.168.10.2 via www.helpserver.vir (vir = virtual, hope that noone on the internet uses this ending...)

So basicaly here are the config files :

I added to the default /etc/named.conf file the following

forwarders {
62.108.117.6 **DNS Server of My ISP
}

then after zone 0.0.127

I added

zone "helpserver.vir" {
type master;
file "/var/named/db.helpserver";
};

zone "168.192.in-addr.arpa" {
type master;
file "/var/named/db.168.192";
};

after this follows the default

include "/etc/rndc.key";

now my db.helpserver looks like this :

;
; BIND date file for helpserver domain
;
$ TTL 86400
@ IN SOA thor.helpserver.vir. root.thor.helpserver.vir. (
2005010718 ; Serial
28800 ; Refresh
7200 ; Retry
604800 ; Expire
86400 ; Negative Cache ttl
)
@ IN NS thor.helpserver.vir.
;------------------------------------------------------------;
thor IN A 192.168.10.2
ns IN CNAME thor
www IN CNAME thor
;------------------------------------------------------------;
;------------------------------------------------------------;
; end.

question :

since I only you httpd server on this machine I only defined www this is ok ?

my db.168.192 looks like this

; BIND data file for 192.168.x.x reverse DNS
;
$TTL 86400
@ IN SOA thor.helpserver.vir. root.thor.helpserver.vir. (
2005010718 ; Serial
28800 ; Refresh
7200 ; Retry
604800 ; Expire
86400 ; Negative Cache TTL
)
;
@ IN NS thor.helpserver.vir.
;
2.10 IN PTR thor.helpserver.vir.
;vege

the problem as since this was my first time with dns server I did some idiotic things, like first tried helpserver.tld then helpserver.net, now even if I set the above to helpserver.vir I can still access helpserver.net helpserver.tld when will those die out ? or will they die eventualy or do I have to do something to kill em ?

also what do you need to do to dissallow accessing helpserver like this

www.helpserver

I only want to allow user to access it like this

www.helpserver.vir (or is the above also part of a still remaining cached dns name from the first few idiotic atempts ? and will eventualy cease functioning , and so I will only be able to access the server via www.helpserver.vir ?)


Sincerely
Robert B


--------------------
Robert Becskei
robert83@linuxhelp.net
--------------------
May the source be with us!
--------------------
AMD X2-3800 @ 2400Mhz
2048MB DDR 400Mhz
DFI Lanparty UT4 NF4 ULTRA-D
GeForce 7800GT
250GB+250GB
Pioneer DVD-RW
17inch Samsung Syncmaster 757NF
WinXP Pro (SP2)/ CentOS 4.3
--------------------
Go to the top of the page
 
+Quote Post
Robert83
post Jan 9 2005, 04:09 PM
Post #2


Its GNU/Linuxhelp.net
*******

Group: Support Specialist
Posts: 1,439
Joined: 3-January 04
From: Germany
Member No.: 2,069



Hi,

sorry ie6.0 wuz *()&$#@ it up(coded text, guess what the encoding looks like smile.gif ) , so I ctrl refresh and it shows up the expected error... duh

yeah 'tis cool now

yeah...

Sincerely
Robert B


--------------------
Robert Becskei
robert83@linuxhelp.net
--------------------
May the source be with us!
--------------------
AMD X2-3800 @ 2400Mhz
2048MB DDR 400Mhz
DFI Lanparty UT4 NF4 ULTRA-D
GeForce 7800GT
250GB+250GB
Pioneer DVD-RW
17inch Samsung Syncmaster 757NF
WinXP Pro (SP2)/ CentOS 4.3
--------------------
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 20th October 2017 - 04:43 PM