|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Stop making mediocre tutorials.The best tutorials are video! Camtasia Studio makes it easy to create engaging, buzz-building screen videos at any size, in any popular format. Download the free trial!
|
|
#1
|
|||
|
|||
|
Did I setup named.conf and the zone files correctly?
Can someone take a look at my attached named.conf and zone files to see if I set them up correctly? I'm not going through a router and I have named.exe running as well. This is on a WinXP Pro box. I've set my DNS server address to my IP in my connection properties and it does show up in ipconfig/all. When I browse the net it is slower but it seems that my box is resolving DNS queries. Also I didnt see any lines in the config labeled ns1.mobile-tech-consulting.com anywhere so is that the nameserver I'm supposed to use at my registrar?
Last edited by razor1 : August 26th, 2003 at 12:52 PM. |
|
#2
|
||||
|
||||
|
browsing the net should not be slower. You should specify your ISP's dns servers to use, not MY ISP's dns servers. ;-)
# use these servers as forwarders when resolving requests # forwarders { 68.51.0.6; 68.51.0.5; }; Change the IP addresses to your ISP's dns servers. And you need to remove these lines: ;Or mail CNAME mx1.mail.yahoo.com. ;If using another mail service. e.g. yahoo
__________________
Send me a private message if you would like me to setup your DNS for you for a price of your choosing. This is the preferred method if your DNS needs to be fixed/setup fast and you don't have the time to bounce messages back and forth on a forum. Also, check out these links: Whois Direct | DNS Crawler | NS Trace | Compare Free DNS Hosts Last edited by SilentRage : August 26th, 2003 at 03:15 PM. |
|
#3
|
|||
|
|||
|
Okay I will do that, now in the 1.0.0.127.IN-ADDR-ARPA.zone file the lines with ns.yourdomain.com are correct? There is no 1 or 2 appeneded to the ns? In the ARPA.zone file I got from SilentRage's site should I just replace the ns.example.com in the SOA, NS and PTR lines with my domain and obviously leave out the SilentRage.hotpop.com entry? Also since I dont see any lines in the config labeled ns1.yourdomain.com anywhere just ns.yourdomain.com in the ARPA.zone file, is that the nameserver I'm supposed to use at my registrar?
|
|
#4
|
||||
|
||||
|
it doesn't matter what names you use at your registrar. Things will be setup like this:
[registrar] anyprefix.mobile-tech-consulting.com (127.0.0.1) anyotherprefix.mobile-tech.consulting.com (127.0.0.1) The above example assumes you only have 1 DNS server and that your registrar requires that you specify at least 2 dns servers. In which case, the IP's would be the same. Now even though you told the registrar the IP addresses for the dns server domains, you need to configure them in your dns server zone file as well. [mobile-tech-consulting.com.zone] $ORIGIN mobile-tech-consulting.com. ... @ NS anyprefix @ NS anyotherprefix anyprefix A 127.0.0.1 anyotherprefix A 127.0.0.1 In the main zone file above I specified the 2 dns server domains for @ (which is the $ORIGIN). I also gave those 2 hosts IP addresses. The 2 host names have the $ORIGIN appended to them since they don't end with a period. [reverse IP zone] $ORIGIN 4.3.2.1.IN-ADDR.ARPA. ... @ NS anyprefix.mobile-tech-consulting.com. @ NS anyotherprefix.mobile-tech-consulting.com. In the reverse IP zone I added the 2 dns server domains as well. This time however I spelled them out completely and slapped a period on the end since this isn't their home zone. |
|
#5
|
|||
|
|||
|
Hmm, I tried to do what SilentRage suggested and setup my nameservers with my registrar in which both failed. Reason from them, Entity reference not found. I'll attach my zone files again and if someone could take a look and let me know what I've done wrong I'd be grateful.
![]() |
|
#6
|
||||
|
||||
|
If your registrar doesn't allow you to add the following, then you need to contact them and ask them about the problem. I have had people before who had problems adding name servers to their domain registry. I told them to complain to their registrar, and their registrar fixed the problem.
ns1.mobile-tech-consulting.com - 127.0.0.1 ns2.mobile-tech-consulting.com - 127.0.0.1 Do NOT use the IP address 127.0.0.1. Instead use the IP address of your dns server. |
![]() |
| Viewing: Dev Shed Forums > System Administration > DNS > Did I setup named.conf and the zone files correctly? |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|