Question Locked

bind and sendmail help please

0 helpful
2 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

Actually, I'm not really asking for help as much as I'm asking for some links to some good tutorials. I would rather have that, so I can reference it.

bind is already set up, but it is very generic(thus, why I have all ports blocked). I am leasing this machine, and the setup was part of the deal. I will be hosting at least 2 web sites, where I would like separate dns for. I also will probably sell web space, which will require me to be able to update the bind. Even if I don't sell space, I want to offer free space to religious organizations.

So, any help/direction here would be greatly appreciated.

I am most likely going to install webmin, actually I'm almost positive I will be. But, I would like to know or at least have an idea what I am doing first.

Also, the os is FreeBSD 6.2 stable.

Ya know, they really need a UNIX tag for us UNIX fans. ;o)

Oh, does anyone know what ports are used for passive ftp? I need to work my firewall for that too.

Dan

2 replies

by toivo talikka

Here is one BIND manual I have used, DNS for Rocket Scientists:
http://www.zytrax.com/books/dns

I have a domain which has its name server outside, pointing to my IP address. This domain runs the authoritative DNS server for my second domain, which can therefore have as many subdomains as I like: subdomain1.mydomain.com, subdomain2.mydomain.com and so on.

You can run your DNS server as a caching DNS server for your own servers, as long as you set up BIND securely so that it is not an open DNS server. In other words, anyone in the world can query it for the domains you maintain but not for any other domain.

Once you have forwarded port 53 in your firewall to your DNS server, you should go to www.dnsstuff.com and select DNS Report. You will get a detailed report which highlights possible problems in the setup of the DNS records.

Here are the commands I have found useful:
- rndc
- dig @{ipaddress of DNS server} {domain name}
- nsupdate
- named-checkconf
- named-checkzone

This discussion is closed to new replies.