LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 07-20-2004, 10:17 AM   #1
blk96gt
Member
 
Registered: Jun 2004
Location: Nacogdoches, TX
Distribution: Ubuntu 7.04
Posts: 230

Rep: Reputation: 30
Question Is this set up possible without using BIND?


What I would like to do, instead of using bind, is use a third party DNS server, like dyndns.org. What I would like to see happen, is when www.mydomain.com is requested, it gets forwarded to my router(which will be running either SmoothWall or Slackware), and then the router will forward it to my server. That I know will work without a problem, the question I have is I want to be able to type in desktop.mydomain.com, and have that forwarded to my router, and from there have it forwarded to my desktop machine. I am thinking that without setting up BIND, my router will have no way of knowing what has been requested, since the third party nameserver would only send me an IP address. So has anyone else have a set up that is something like this that doesn't use BIND, or is it even possible to do without setting it up? Thanks for the help.
 
Old 07-20-2004, 01:33 PM   #2
WMD
Member
 
Registered: Jul 2004
Location: Florida
Distribution: Slackware, Debian
Posts: 484

Rep: Reputation: 30
You shouldn't need BIND for that.
 
Old 07-20-2004, 03:00 PM   #3
ilikejam
Senior Member
 
Registered: Aug 2003
Location: Glasgow
Distribution: Fedora / Solaris
Posts: 3,109

Rep: Reputation: 96
Hi.

If you're only using a web server, then this can be done without BIND - the HTTP GET command passes the web address being requested to the server resolved by DNS.

This is what is passed to my webserver at www.ilikejam.dsl.pipex.com:

Code:
GET / HTTP/1.1
Host: www.ilikejam.dsl.pipex.com
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7) Gecko/20040626 Firefox/0.9.1
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
If-Modified-Since: Tue, 20 Jul 2004 03:17:15 GMT
If-None-Match: "13d2503-10f4-40fc8ebb"
Cache-Control: max-age=0
As you can see, the requested page URL is sent, so you can do filtering at your end to sort out which server the particular requests go to. Things get more complex if you're running ftp or anything else as there's no headers except the usual TCP/IP ones.

Exactly how you do the filtering at your end is left as an exercise for the reader, 'cause I have no idea.

Dave

Last edited by ilikejam; 07-20-2004 at 03:02 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Is it possible to set the udp packet size for a DNS query in BIND 9.2.1?? Paul_Randle Linux - Networking 0 10-17-2005 08:29 AM
Problem with BIND - Can't resolve hostnames unless listen-on is set to the IP range GD_19 Linux - Networking 2 07-07-2005 04:56 PM
Bind returns 0 answers on the zone it is set to be master on Timur Sakayev Linux - Networking 2 12-29-2004 08:46 AM
How do I revert to Bind 8 from Bind 9? digging4roots Linux - Newbie 3 06-08-2002 04:40 PM
To 'Bind' or not to 'Bind' that is the question jsurgeson Linux - Newbie 2 03-24-2002 03:10 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 06:23 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration