Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Geek Culture / DNS servers

Author
Message
AlexI
19
Years of Service
User Offline
Joined: 31st Dec 2004
Location: UK
Posted: 6th Nov 2006 20:49
Does anyone know how to setup a DNS server with suse linux 10.2? I know you have to use something called BIND and you need to set up 2 dns servers but that is far as knloledge goes. Any help I would really apreicate!
Thanks,
Alex


Nicholas Thompson
20
Years of Service
User Offline
Joined: 6th Sep 2004
Location: Bognor Regis, UK
Posted: 6th Nov 2006 21:07
Running before you can walk. I think you need to learn more about linux before you start doing this...

If its any help - I tried it at home once:
http://forum.thegamecreators.com/?m=forum_view&t=76347&b=2

Took me the best part of a week to get working and then it didn't really give me anything more than the ability to tie a name (like ibook.home.local) to my machines at home meaning I didn't need to remember their IP. the DHCP server allowed me to bind IP's to machine's MAC addresses - but I had the advantage of an always on switch/router which I recall you not having in the diagram you had in your previous post (which I also recall having many people telling you to slow down )

[center]
AlexI
19
Years of Service
User Offline
Joined: 31st Dec 2004
Location: UK
Posted: 6th Nov 2006 21:25 Edited at: 6th Nov 2006 21:27
Thanks, but thats about internal DNS server, i want to set up an external DNS server, I have registered a test domain at the moment. How can i anyone to go to my site, using my own DNS and apache server?
Thanks,
Alex


Richard Davey
Retired Moderator
22
Years of Service
User Offline
Joined: 30th Apr 2002
Location: On the Jupiter Probe
Posted: 6th Nov 2006 22:52
If you want to run primary DNS from your own PC (and unless you have a fast 24x7, always-on internet connection, I wouldn't) then you'll need three things: great knowledge of bind (which is already part of Suse), someone to run secondary DNS service for you, and the patience of a saint.

You'll need to modify your test domain record to point the nameserver at your home PC. This in itself must be fully qualified, i.e. already have its own dedicated IP address, and dedicated domain name. The domain could reference itself, but this is considered bad practise from a failsafe point of view, although in this case I doubt it'll matter one bit.

bind is probably already running. Setting up a domain is simply a matter of modifying the name service records (which are plain text files) and you are away. Of course the domain won't actually DO anything other than resolve without you installing something else (web server, ftp, etc).

If you want to learn how to run a DNS server for real-world use, then O'Reilly publish an excellent book on bind that was my absolute bible several years ago. If you just want a domain to point to your home PC and don't care too much how it works, there are loads of dynamic DNS servers out there (no-ip.com, etc)

"Bite my shiny metal ass" (Futurama)
"Don't ping my cheese with your bandwidth" (Dilbert)
Nicholas Thompson
20
Years of Service
User Offline
Joined: 6th Sep 2004
Location: Bognor Regis, UK
Posted: 6th Nov 2006 23:12
Quote: "Setting up a domain is simply a matter of modifying the name service records"


Simply? Thats like saying Brain Surgery is a simply requires a steady hand! Hehe.

[center]
AlexI
19
Years of Service
User Offline
Joined: 31st Dec 2004
Location: UK
Posted: 7th Nov 2006 00:41 Edited at: 7th Nov 2006 00:42
Quote: "You'll need to modify your test domain record to point the nameserver at your home PC"
So i just put the name servers as my ip?

Quote: "someone to run secondary DNS service for you"
can't i some how set it as the same?

Quote: "simply a matter of modifying the name service records "
Where are these held? what file?


Quote: "Of course the domain won't actually DO anything other than resolve without you installing something "
I have installed XAMPP will it work with that -> http://www.apachefriends.org/en/xampp-linux.html


Nicholas Thompson
20
Years of Service
User Offline
Joined: 6th Sep 2004
Location: Bognor Regis, UK
Posted: 7th Nov 2006 10:50 Edited at: 7th Nov 2006 10:51
Quote: "So i just put the name servers as my ip?"

Yup - but bear in mind if you have a dynamic IP then you'll need to keep changing it

Quote: "can't i some how set it as the same?"

That'd defeat the point in having a secondary one The point of the secondary is so there is somewhere else to turn if your server is down or unreachable (like if your IP changed)

Quote: "Where are these held? what file?"

Google is your friend... Combination of /etc/named.conf and /var/named/ (which only root can read/write to). Those are the defaults on Fedora Core 4 which I use. You're using SuSE so it could be different.

Quote: "I have installed XAMPP will it work with that "

Yup - All a Domain Name is meant to do is give a human an easier way to remember an address (plus a few other things). Google.co.uk is far easier to remember than a dotted-quad IP (and will in turn be much easier to remember than IPv6!).

[center]
AlexI
19
Years of Service
User Offline
Joined: 31st Dec 2004
Location: UK
Posted: 7th Nov 2006 12:17
Thanks for all your help, just got to try and set it up I think i might change my ISP to one that allows you to get a static IP


AlexI
19
Years of Service
User Offline
Joined: 31st Dec 2004
Location: UK
Posted: 7th Nov 2006 13:08 Edited at: 7th Nov 2006 13:08
Does anyone know a good fast cheap ISP which has an option for a static IP and for no more than £18 a month?
Thanks,
Alex


_Nemesis_
21
Years of Service
User Offline
Joined: 9th Nov 2003
Location: Liverpool, UK
Posted: 7th Nov 2006 19:55
As I said in a similar thread late last month, this can be overcome with running the client from no-ip and using their dynamic ip service:
Quote: "
Quote: "So i just put the name servers as my ip?"

Yup - but bear in mind if you have a dynamic IP then you'll need to keep changing it"


Simply set the nameservers to the no-ip domain that's assigned to their dynamic ip service and keep the client running to update them.

[url="http://www.devhat.net"]www.devhat.net[/url] :: Devhat IRC Network.
Current Project: ASP Content Management System
Nicholas Thompson
20
Years of Service
User Offline
Joined: 6th Sep 2004
Location: Bognor Regis, UK
Posted: 7th Nov 2006 20:22
Quote: "Simply set the nameservers to the no-ip domain that's assigned to their dynamic ip service and keep the client running to update them."


In which case you may as well use the no-ip address to start with?

[center]
_Nemesis_
21
Years of Service
User Offline
Joined: 9th Nov 2003
Location: Liverpool, UK
Posted: 7th Nov 2006 22:25
True, but I assume !Hi! will be wanting to use a custom domain name that has been purchased.

[url="http://www.devhat.net"]www.devhat.net[/url] :: Devhat IRC Network.
Current Project: ASP Content Management System
adr
21
Years of Service
User Offline
Joined: 21st May 2003
Location: Job Centre
Posted: 8th Nov 2006 11:03 Edited at: 8th Nov 2006 11:04
Quote: "good fast cheap"

There aren't enough good fast cheap things about. I mean, there's obviously a demand for good fast cheap stuff, so why don't more companies offer it as an option?

</end bitter sarcasm>

I'm not sure how many times we've said this in a round about way, so let me spell it out for you:
1. You shouldn't do this without spending money on some new hardware (a router). Using a Windows XP machine a the gateway to your hosting service is an outright stupid idea.
2. You shouldn't do this with a residential ISP because they will terminate your service without notice. Especially a cheap ISP whose idea of fair usage precludes serving data (Pay £35 a month for Zen ADSL and you'll be ok).
3. If you don't know what you're doing, you will end up having your server hijacked.

I strongly recommend you take Nicholas T's suggestions and spend your £18 a month on some kinda virtualised server solution.


I'm superfly TNT
Nicholas Thompson
20
Years of Service
User Offline
Joined: 6th Sep 2004
Location: Bognor Regis, UK
Posted: 8th Nov 2006 12:02
@adr: That was suggested in the other thread - but thanks for the support of it.

Personally I think its about the ONLY option.

[center]
jinzai
18
Years of Service
User Offline
Joined: 19th Aug 2006
Location: USA
Posted: 9th Nov 2006 05:05 Edited at: 9th Nov 2006 05:07
About 5 or 6 years ago, Coreolis (sp?) Press published a book called, "The Linux Internet Server Black Book". (I think...pretty helpful, huh?) It is what you want once you get what you lack, which is a truly static ip and a decent csu. As far as needing to be a Linux guru, there is certainly some truth to that, but...the book is pretty helpful in setting up a reasaonably secure Internet presence.

I wondered about the issue of static ips in the UK. It is the same here, but...they pretty much tell you up front...do not run any servers or ftp from your ip.

Seriously, you should consider buying a router, because it will give you alot of experience in networking...practical experience. You can also use your network to develop your internet presence, and test your design out on your local network.

Actually, there is nothing precluding you from running primary and secondary DNS on the same machine even...but that is against reliable network engineering principles.

If you buy a router, and use that book, or similar reference material, you can set it all up behind the router in anticipation of the static ip. Here, a T1 is roughly $750 to install, and $500 a month....also it is multiplexed, and pretty much useless for running a full Internet presence (DNS, HTTP, FTP, POP3, et al), in my opinion.

Login to post a reply

Server time is: 2024-11-17 20:32:59
Your offset time is: 2024-11-17 20:32:59