DaemonForums  

Go Back   DaemonForums > FreeBSD > FreeBSD General

FreeBSD General Other questions regarding FreeBSD which do not fit in any of the categories below.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 16th June 2008
neubie neubie is offline
New User
 
Join Date: Jun 2008
Posts: 3
Default Changing IP to host www, mail and etc in FreeBSSD

To All out there:

I have an PPPoE ADSL connection (Broadband service) 24 x7 and I planned to use its services even am not at home. Used its services means: I will put up a domain where www, mail, ftp and etc will be pointed to my changing/varying ip addresses.

sample:
www.mydomain.com:
Internet <==> [[DNS equivalent][GateWay] ===[LAN / www/mail/ftp/ssh]

sample:
mail.mydomain.com:
Internet <==> [[DNS equivalent][GateWay] ===[LAN / www/mail/ftp/ssh]

I know that this is possible now but I don't have an idea on how to make this work. If you have some inputs to this I am advancing my warmth thanks to you guys.

Just to inform you that I had already settled a domain for 1 year for this personal project.

Regards,
Neubie
Reply With Quote
  #2   (View Single Post)  
Old 16th June 2008
mish's Avatar
mish mish is offline
Port Guard
 
Join Date: May 2008
Posts: 25
Default

1) Register a domain (Done, you say)
2) Get an account with Free DNS service (eg: DynDNS.org, ZoneEdit.com, No-IP, etc)
3) Set-up your domain to use No. 2 as DNS
4) Configure No. 2 to point to your dynamic IP
5) Set up your services (www, smtp, etc)
6) Set up a script, program, cron job to update your IP with No. 2 when it changes
7) Test, test, test again.
Reply With Quote
  #3   (View Single Post)  
Old 16th June 2008
neubie neubie is offline
New User
 
Join Date: Jun 2008
Posts: 3
Default

1) Register a domain (Done, you say)
Quote:
Done.
2) Get an account with Free DNS service (eg: DynDNS.org, ZoneEdit.com, No-IP, etc)
Quote:
I have done this and I got lost with the setup.
3) Set-up your domain to use No. 2 as DNS
Quote:
I don't know what to put in primay dns and secondary dns from my provider
4) Configure No. 2 to point to your dynamic IP
Quote:
No idea how to configure step #2 to point to the dynamic IP.
5) Set up your services (www, smtp, etc)
6) Set up a script, program, cron job to update your IP with No. 2 when it changes
Quote:
I may do it in crontab but how?
7) Test, test, test again.
Quote:
I would love to, If I have setup everything right.
Reply With Quote
  #4   (View Single Post)  
Old 16th June 2008
Weaseal's Avatar
Weaseal Weaseal is offline
Package Pilot
 
Join Date: May 2008
Location: East Coast, US
Posts: 177
Default

Quote:
Originally Posted by neubie View Post
I don't know what to put in primay dns and secondary dns from my provider .
You get this information from your DNS provider, such as dynds.org.


As for crontab, edit /etc/crontab -- the syntax is fairly clear. I'd paste a few of my lines but the power is out where my machine is...
__________________
FreeBSD addict since 4.2-RELEASE.
My FreeBSD wiki.
Reply With Quote
  #5   (View Single Post)  
Old 16th June 2008
anomie's Avatar
anomie anomie is offline
Local
 
Join Date: Apr 2008
Location: Texas
Posts: 445
Default

@neubie: It's very confusing when you paste contents from a post you're replying to (with no tags) and then quote your reply. Most people will expect to see the reverse. I had to look at this thread a few times to figure out what was going on.

Google can point you to many tutorials on setting up a cronjob. There is also good documentation on the system -- see the manpages for crontab(5).
__________________
Kill your t.v.
Reply With Quote
  #6   (View Single Post)  
Old 19th June 2008
neubie neubie is offline
New User
 
Join Date: Jun 2008
Posts: 3
Default

Sorry for mis-representing my words there.

I finally got the whole picture and now I am going to use ddclient to update dyndns.org server regarding my IP. I have now the idea of how to do the cronjob - (Thanks for people like you guys)

I have not enough time to fully complete this project. I will continue with it and hopefully I can finish the job the soonest.

Thanks to All.
Neubie

*If I encounter problems again, I will have it posted again here.
Reply With Quote
Reply

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
DNS host entry on the Slave server ccc General software and network 3 24th June 2009 01:09 AM
sendmail host name lookup failure ducu_00 General software and network 9 21st January 2009 02:42 AM
ssh/rdesktop into host behind NAT JMJ_coder General software and network 18 13th January 2009 08:19 PM
Print on remote WinXP from web host drhowarddrfine General software and network 5 13th October 2008 05:41 PM
Appending to file on remote host via SSH splooge Programming 10 7th June 2008 10:23 PM


All times are GMT. The time now is 05:19 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick