PDA

View Full Version : having DNS issues too.


philip_g
4th August 2007, 02:34
I followed the howto here
http://www.howtoforge.com/ispconfig_dns_godaddy

have godaddy set up with ns1 and ns2.somedomain.com with the IP address 65.111.174.143, this domain does nothing but host the ns1 and ns2 entries, it's parked at godaddy exactly as the example is

I set those as the DNS records for my server

I created a master with those, along with the A records for www and mail, and the MX for mail.mydomain.com

I created a site with the name mydomain.com and the user web8_mydomain

the files for web8 are in /var/www/web8/web

if I try to go to www.mydomain.com I get a 404 error, if I go to http://mydomain.net I get the

This IP address is shared. For access to the web site which you look for, enter its address instead of its IP.
For questions or problems please contact the server administrator.


message.

if I do
dig www.mydomain.com I get

; <<>> DiG 9.3.4-P1 <<>> www.mydomain.net
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 41475
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;www.mydomain.net. IN A

;; Query time: 84 msec
;; SERVER: 69.60.125.254#53(69.60.125.254)
;; WHEN: Fri Aug 3 19:31:19 2007
;; MSG SIZE rcvd: 36

if I dig mydomain.com I get

; <<>> DiG 9.3.4-P1 <<>> mydomain.net
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 14374
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 2

;; QUESTION SECTION:
;mydomain. net IN A

;; ANSWER SECTION:
mydomain.net. 85045 IN A 65.111.174.142

;; AUTHORITY SECTION:
mydomain.net. 172748 IN NS ns1.mydomain.info.
mydomain.net. 172748 IN NS ns2.mydomaino.info.

;; ADDITIONAL SECTION:
ns1.mydomain.info. 2093 IN A 65.111.174.142
ns2.mydomain.info. 2208 IN A 65.111.174.143

;; Query time: 1 msec
;; SERVER: 69.60.125.254#53(69.60.125.254)
;; WHEN: Fri Aug 3 19:32:11 2007
;; MSG SIZE rcvd: 131


all the IP's look correct to me, .142 and .143 are my nameservers and .142 is the IP for mysomain.net


I have a feeling there is just some stupid little mistake I made, can anyone offer suggestions? (ignore the instances where I swap between .com and .net it means nothing)

falko
4th August 2007, 13:24
Did you create an A record for www.mydomain.net (please double-check)?

What's the output of ifconfig, and what's in Vhosts_ispconfig.conf?

philip_g
4th August 2007, 15:45
Did you create an A record for www.mydomain.net (please double-check)?

What's the output of ifconfig, and what's in Vhosts_ispconfig.conf?

I did.

I fiddled around with the server in a couple different configurations so I'm going to re-do the entire perfect setup on a clean install here in a minute and I'll let you know shortly.

philip_g
4th August 2007, 18:33
nevermind, removed the slave and it's OK

philip_g
4th August 2007, 18:44
Did you create an A record for www.mydomain.net (please double-check)?

What's the output of ifconfig, and what's in Vhosts_ispconfig.conf?

ifconfig output

eth0 Link encap:Ethernet HWaddr 00:16:17:29:FA:3A
inet addr:65.111.174.142 Bcast:65.111.175.255 Mask:255.255.252.0
inet6 addr: 2001:618:400:bef3:216:17ff:fe29:fa3a/64 Scope:Global
inet6 addr: fe80::216:17ff:fe29:fa3a/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1958 errors:0 dropped:0 overruns:0 frame:0
TX packets:261 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:166154 (162.2 KiB) TX bytes:78157 (76.3 KiB)
Interrupt:185 Base address:0xe000

eth0:1 Link encap:Ethernet HWaddr 00:16:17:29:FA:3A
inet addr:65.111.174.143 Bcast:65.111.175.255 Mask:255.255.252.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
Interrupt:185 Base address:0xe000

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:28 errors:0 dropped:0 overruns:0 frame:0
TX packets:28 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:2662 (2.5 KiB) TX bytes:2662 (2.5 KiB)


DNS MGR -> my server -> records
A Records

--------------------------------------------------------------------------------
IP-Adresse Hostname
65.111.174.142 www
65.111.174.142 mail

philip_g
4th August 2007, 18:47
HOLY CRAP it started working on it's own.
I have no idea what I did but it's working

till
5th August 2007, 10:29
If you change something in DNS, it will take some time until the changes are propagated to the caching namservers. This may take up to 48 hours.

philip_g
7th August 2007, 06:47
If you change something in DNS, it will take some time until the changes are propagated to the caching namservers. This may take up to 48 hours.
Even locally? I figured the local stuff would change right away.

Anyway, it's been running perfectly and I LOVE how the server has been running, added other domains and it's been just awesome.

falko
7th August 2007, 20:30
Even locally? I figured the local stuff would change right away.

Yes, changes should take effect immediately locally.

philip_g
9th August 2007, 04:56
cool, thanks.

I'm sure loving ISPConfig, really cool and easy to work with now that it's set up.