I have two servers in one of my datacenters that are giving off lame name servers. I have tried everything I could think of, as well as everything I could find online to fix these issues. Can anyone point me in a direction?
First of all, is there any best way to set DNS on our VPS? How to do that? I tried to follow the tutorial and even asked the VPS company to do it for me (two different company) but when they do that, I checked with DNSStuff.com, this is the result I get.
Error 1 ERROR: You have one or more lame nameservers. These are nameservers that do NOT answer authoritatively for your domain. This is bad; for example, these nameservers may never get updated. The following nameservers are lame:
Error2 ERROR: One or more of the nameservers listed at the parent servers are not listed as NS records at your nameservers. The problem NS records are:
But my reseller account with another company show no such problem. At first I thought my first VPS company didn't know what they do, but it could not be that both company didn't know what they are doing when setting up the DNS of my VPS right?
So, there must be something that I need to say to them, so the lame nameserver error will disappear.
The messages in my logs indicate that my DNS server is configured incorrectly.
lame server resolving 'pobrdesign.com' (in 'pobrdesign.com'?): 209.40.198.107#53 lame server resolving 'pobrdesign.com' (in 'pobrdesign.com'?): 209.40.197.108#53
Here is a complete log from restarting named:
Code: shutting down stopping command channel on 127.0.0.1#953 no longer listening on 127.0.0.1#53 no longer listening on 209.40.198.107#53 no longer listening on 209.40.197.108#53 exiting zone 0.in-addr.arpa/IN/localhost_resolver: loaded serial 42 zone 0.0.127.in-addr.arpa/IN/localhost_resolver: loaded serial 1997022700 zone 255.in-addr.arpa/IN/localhost_resolver: loaded serial 42 zone 0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.ip6.arpa/IN/localhost_resolver: loaded serial 1997022700 zone localdomain/IN/localhost_resolver: loaded serial 42 zone localhost/IN/localhost_resolver: loaded serial 42 zone pobrdesign.com/IN/external: loaded serial 2007081405 zone pobrdesign.com/IN/external: sending notifies (serial 2007081405) client 209.40.198.107#45926: view localhost_resolver: received notify for zone 'pobrdesign.com': not authoritative running
I configured my server through WHM initially. Here is my named.conf
Code: 1 include "/etc/rndc.key"; 2 3 controls { 4 inet 127.0.0.1 allow { localhost; } keys { "rndckey"; }; 5 }; 6 7 8 options 9 { 10 /* make named use port 53 for the source of all queries, to allow 11 * firewalls to block all ports except 53: 12 */ 13 query-source port 53; 14 15 // Put files that named is allowed to write in the data/ directory: 16 directory "/var/named"; // the default 17 dump-file "data/cache_dump.db"; 18 statistics-file "data/named_stats.txt"; 19 memstatistics-file "data/named_mem_stats.txt"; 20 }; 21 22 logging 23 { 24 /* If you want to enable debugging, eg. using the 'rndc trace' command, 25 * named will try to write the 'named.run' file in the $directory (/var/named). 26 * By default, SELinux policy does not allow named to modify the /var/named directory, 27 * so put the default debug log file in data/ : 28 */ 29 channel default_debug { 30 file "data/named.run"; 31 severity dynamic; 32 }; 33 }; 34 35 36 // All BIND 9 zones are in a "view", which allow different zones to be served 37 // to different types of client addresses, and for options to be set for groups 38 // of zones. 39 // 40 // By default, if named.conf contains no "view" clauses, all zones are in the 41 // "default" view, which matches all clients. 42 // 43 // If named.conf contains any "view" clause, then all zones MUST be in a view; 44 // so it is recommended to start off using views to avoid having to restructure 45 // your configuration files in the future. 46 47 view "localhost_resolver" 48 { 49 /* This view sets up named to be a localhost resolver ( caching only nameserver ). 50 * If all you want is a caching-only nameserver, then you need only define this view: 51 */ 52 match-clients { localhost; }; 53 match-destinations { localhost; }; 54 recursion yes; 55 56 zone "." IN { 57 type hint; 58 file "/var/named/named.ca"; 59 }; 60 61 /* these are zones that contain definitions for all the localhost 62 * names and addresses, as recommended in RFC1912 - these names should 63 * ONLY be served to localhost clients: 64 */ 65 include "/var/named/named.rfc1912.zones"; 66 }; 67 68 view "internal" 69 { 70 /* This view will contain zones you want to serve only to "internal" clients 71 that connect via your directly attached LAN interfaces - "localnets" . 72 */ 73 match-clients { localnets; }; 74 match-destinations { localnets; }; 75 recursion yes; 76 77 zone "." IN { 78 type hint; 79 file "/var/named/named.ca"; 80 }; 81 82 // include "/var/named/named.rfc1912.zones"; 83 // you should not serve your rfc1912 names to non-localhost clients. 84 85 // These are your "authoritative" internal zones, and would probably 86 // also be included in the "localhost_resolver" view above : 87 }; 88 89 view "external" 90 { 91 /* This view will contain zones you want to serve only to "external" clients 92 * that have addresses that are not on your directly attached LAN interface subnets: 93 */ 94 match-clients { !localnets; !localhost; }; 95 match-destinations { !localnets; !localhost; }; 96 97 recursion no; 98 // you'd probably want to deny recursion to external clients, so you don't 99 // end up providing free DNS service to all takers 100 101 // all views must contain the root hints zone: 102 zone "." IN { 103 type hint; 104 file "/var/named/named.ca"; 105 }; 106 107 // These are your "authoritative" external zones, and would probably 108 // contain entries for just your web and mail servers: 109 110 // BEGIN external zone entries 111 112 zone "pobrdesign.com" { 113 type master; 114 file "/var/named/pobrdesign.com.db"; 115 }; 116 }; Here is my /var/named/pobrdesign.com.db file:
Code: ; cPanel 11.6.0-BETA_15058 ; Zone file for pobrdesign.com $TTL 7200 @ 86400 IN SOA server.pobrdesign.com. support.pobrdesign.com. ( 2007081405 ; serial, todays date+todays 86400 ; refresh, seconds 7200 ; retry, seconds 3600000 ; expire, seconds 86400 ) ; minimum, seconds
pobrdesign.com. 86400 IN NS server.pobrdesign.com. pobrdesign.com. 86400 IN NS server2.pobrdesign.com.
pobrdesign.com. IN A 209.40.198.107
localhost.pobrdesign.com. IN A 127.0.0.1
mail IN CNAME pobrdesign.com. www IN CNAME pobrdesign.com. ftp IN A 209.40.198.107 pobrdesign.com. IN MX 1 ASPMX.L.GOOGLE.COM. pobrdesign.com. IN MX 10 ASPMX5.GOOGLEMAIL.COM. pobrdesign.com. IN MX 5 ALT1.ASPMX.L.GOOGLE.COM. pobrdesign.com. IN MX 6 ALT2.ASPMX.L.GOOGLE.COM. pobrdesign.com. IN MX 11 ASPMX4.GOOGLEMAIL.COM. pobrdesign.com. IN MX 12 ASPMX3.GOOGLEMAIL.COM. pobrdesign.com. IN MX 13 ASPMX2.GOOGLEMAIL.COM. server 14400 IN A 209.40.197.108 server2 14400 IN A 209.40.198.107
glaring issue that is keeping my DNS from working.
i got too many logs on Lame-server resolving i my log.
every second about 10-20.
Jul 23 11:31:33 ns1 named[15967]: lame server resolving '92-49-205-1.dynamic.peoplenet.ua.mydnsdomain.net' (in 'mydnsdomain.net'?): my.ip.add.ress#53 Jul 23 11:31:33 ns1 named[15967]: lame server resolving 'www.mydomain.com.mydnsdomain.net' (in 'mydnsdomain.net'?): my.ip.add.ress#53
so i turned of the logging and start search the web on possible reasons. However the only once i found where mostly "in case of the domain is not hosted on the server". But in my case the domains in questions are on my server and show in the log as lame server resolv.
They say it has to do with server is not authoritive for that domain.
So how i am gonna fix this?
With digs, and nslookups, i got not errors at all.
But if i try to change a DNS i got a message back from a provider saying that the domains is broken.
I just changed the server, and I can't make the new to work.
The server is CentOS 5 with WHM/cPanel.
The problem seems to be something with DNS / Nameservers - because the server doesn't resolve the domains.
Here is /etc/hosts:
Code: # Do not remove the following line, or various programs # that require network functionality will fail. 85.17.174.68 sv1.byteserv.net sv1 127.0.0.1 localhost Here is /etc/named.conf:
Code: include "/etc/rndc.key"; controls { inet 127.0.0.1 allow { localhost; } keys { "rndc-key"; }; }; acl "trusted" { 127.0.0.1; 85.17.174.68; 85.17.174.70; }; options { query-source port 53; version "Top Secret"; dump-file "data/cache_dump.db"; statistics-file "data/named_stats.txt"; memstatistics-file "data/named_mem_stats.txt"; allow-recursion { trusted; }; allow-notify { trusted; }; allow-transfer { trusted; }; }; logging { channel default_debug { file "data/named.run"; severity dynamic; }; }; view "localhost_resolver" { match-clients { localhost; }; match-destinations { localhost; }; recursion yes; zone "." IN { type hint; file "/var/named/named.ca"; }; include "/var/named/named.rfc1912.zones"; }; view "internal" { match-clients { localnets; }; match-destinations { localnets; }; recursion yes; zone "." IN { type hint; file "/var/named/named.ca"; }; }; view "external" { match-clients { !localnets; !localhost; }; match-destinations { !localnets; !localhost; }; recursion no; zone "." IN { type hint; file "/var/named/named.ca"; }; zone "sv1.byteserv.net" { type master; file "/var/named/sv1.byteserv.net.db"; }; zone "byteserv.net" { type master; file "/var/named/byteserv.net.db"; }; zone "bujorel.es" { type master; file "/var/named/bujorel.es.db"; }; zone "directesa.com" { type master; file "/var/named/directesa.com.db"; }; zone "directoriospro.com" { type master; file "/var/named/directoriospro.com.db"; }; zone "gabiemi.com" { type master; file "/var/named/gabiemi.com.db"; }; zone "logisticexpress.es" { type master; file "/var/named/logisticexpress.es.db"; }; zone "windowsue.com" { type master; file "/var/named/windowsue.com.db"; }; }; The domain is www.byteserv.net Here is an report: [url]
And here it says I don't have an "A record for sv.byteserv.net" - but from cPanel I added the A record - or it should be added. [url]
I see some errors about lame servers in messages log,and i noticed that look like adress of isp surfer domain beacuse i noticed domain of my isp listed also as lame name server.Here is example:
Nov 24 03:46:55 available9 named[7562]: lame server resolving '247.100.51.72.in-addr.arpa' (in '100.51.72.in-addr.arpa'?): 205.214.192.202#53 Nov 24 03:46:55 available9 named[7562]: lame server resolving '247.100.51.72.in-addr.arpa' (in '100.51.72.in-addr.arpa'?): 205.214.192.201#53 Nov 24 03:46:56 available9 named[7562]: lame server resolving '247.100.51.72.in-addr.arpa' (in '100.51.72.in-addr.arpa'?): 205.214.192.202#53 Nov 24 03:46:56 available9 named[7562]: lame server resolving '247.100.51.72.in-addr.arpa' (in '100.51.72.in-addr.arpa'?): 205.214.192.201#53 Nov 24 07:19:51 available9 named[7562]: FORMERR resolving 'ducksimilar.com/NS/IN': 203.93.208.87#53 Nov 24 07:19:51 available9 named[7562]: FORMERR resolving 'ducksimilar.com/NS/IN': 91.208.228.150#53 Nov 24 07:19:52 available9 named[7562]: FORMERR resolving 'host1.experienceexcept.com/AAAA/IN': 203.93.208.87#53 Nov 24 07:19:52 available9 named[7562]: FORMERR resolving 'host2.experienceexcept.com/AAAA/IN': 203.93.208.87#53 Nov 24 07:19:52 available9 named[7562]: FORMERR resolving 'host1.experienceexcept.com/AAAA/IN': 91.208.228.150#53 Nov 24 07:19:52 available9 named[7562]: FORMERR resolving 'host2.experienceexcept.com/AAAA/IN': 91.208.228.150#53 Nov 24 07:19:52 available9 named[7562]: FORMERR resolving 'host1.experienceexcept.com/AAAA/IN': 203.93.208.87#53 Nov 24 07:19:52 available9 named[7562]: FORMERR resolving 'host2.experienceexcept.com/AAAA/IN': 203.93.208.87#53 Nov 24 07:19:52 available9 named[7562]: FORMERR resolving 'host1.experienceexcept.com/AAAA/IN': 91.208.228.150#53 Nov 24 07:19:52 available9 named[7562]: FORMERR resolving 'host2.experienceexcept.com/AAAA/IN': 91.208.228.150#53
I have a lot of questions here so if you can't answer them all I understand. even pointing me somewhere where I could get the answers would be appreciated; hardware sites focusing on server hardware, forums focusing on such, etc.
we plan to have three different types of servers:
- db server (self explanatory. mysql. for forums, mysql driven sites.)
- file server (lots of files around ~2-10MB, consistant 70mbps right now, but we want more room for upgrades. needs a LOT of storage room.)
- web server (lots of php files, but also static things like plain html, images, etc. also includes all misc services for the setup-- dns, etc.)
could I be given a rundown for which hardware each of the three should have? I don't need specifics, even just knowing that more ram is important here while cpu doesn't matter as much, or that the fastest disks available are a must, etc would all be valuable info for me. despite that, I certainly wouldn't mind specific hypothetical hardware configs.
for the database server I'm assuming the more ram the better. not entirely sure about the cpu? also not positive on disks...
for the fileserver, how much ram would be practical or useful? disk io will be an issue I'm because plenty of people will be pulling files at once so the disk needs to read from multiple places. scsi (and even raptors) are not an option as we need 750GB+ of space on a reasonable budget. more ram will take some load of of the disks, but how much is neccessary / reasonable?
for the web server I'm assuming cpu first, then ram, but it'll likely need less ram than the db server?
I'm more lost on the disks than anything. scsi on the fileserver is not an option under any circumstances due to $/GB. for the db & web server I'm willing to pay for scsi if the performance increase really does warrant the extra money, but I'd like to be convinced before shelling it out. if you have benchmarks geared at server hardware when it comes to disks I'd really appreciate it.
also, what's the best way to network these together when colocated? each one with a dual gigabit ethernet port and then the communications go to and from the router?
I was wondering if it is possible to cluster 2 web servers and 2 mysql servers with only one server working as load balancer.
I am planning to use LVS (ldirectord and heartbeat).
Let's say I have 3 IPs allocated to the load balancing server.
111.222.111.222 (Main IP) 111.222.111.223 (Web Load Balancing IP) 111.222.111.224 (MySQL Load Balancing IP) If a connection is made to .223 it would pass the request to one of the web nodes. If a connection is made to .224 it would pass the request to one of the MySQL nodes.
Is it possible to do this?
If not, can I run, for example, nginx on 223 IP address to provide forward proxy? (Then it would not be able to HA but the main point is to load balance so)
Also, what would be the best way to keep the data same on both web servers? This is a web cluster for a very high traffic forum with a lot of uploads every hour so it has to do real time synchronization. I heard that DRDB is only one way and not two way so I'm not going to be able to use this.
I am just colocating servers and managing them myself, and renting services off of them. In the future I would like to start offering dedicated servers as well. I am wondering if many companies do this, or if its more of a general practice to just setup as a reseller? The worst part that comes to mind is thinking of how to do billing for the bandwidth per month. With my setup I would only be offering flat bandwidth packages (like 2TB a month) but even so, I cant think of anyway to automate it so WHMCS knows if they went over, if so, how much, etc.
I have recently purchased new hosting with a new supplier which uses a different kind of control panel - cpanel. So before I transfer our organisations website across I want to spend some time playing.
We purchased our domains with 123 reg and the host we have been using for a while is namesco our new hosting package is with neither of these suppliers.
Before I transfer our primary domain to the new host I'm doing a dummy run with one of our other domains and that's where i've come up with this name servers question.
The new host gave me the name of their 2 name servers.
But when I went to my control panel at 123 reg to change the name servers they were not using namesco name servers they were using 123's.
Do I want to change the name servers to the new name servers or not? I'm a bit confused as i was expecting to see namesco names servers?
Is that possible to have ns1.mydomain.com ns2.mydomain.com
Two differnet severs that means each having two different IPS? If so how?
the reason I ask is that I see a lot of hosting companies have thousands of users and many severs but they all ask their customers to point only to two name server ns1 and ns2
Say you are renting 2 (or more) dedicated web servers. How do you go about getting it so that www.yourdomain.com goes to one of the web servers? Do you need a 3rd server to redirect the request, or what?
if anyone had a recommendation on where to buy a decent used server (Just for DNS Purposes). Anywhere other than ebay? Anywhere local in the Greater Seattle/Everett/Tacoma, WA Area?
Cannot see my servers from office but sites are up and running. Servers are at AtlantaNap. Maybe weather?
Tracing route to mysite.com [xx.xx.xx.xx] over a maximum of 30 hops: 1 <1 ms <1 ms <1 ms 192.168.1.1 2 30 ms 30 ms 30 ms 10.21.1.1 3 58 ms 30 ms 30 ms at-4-3-0-1710.CORE-RTR1.PORT.verizon-gni.net [64 .222.212.44] 4 44 ms 44 ms 44 ms POS3-0-0.GW12.BOS4.ALTER.NET [208.214.102.193] 5 44 ms 44 ms 44 ms 0.so-3-0-0.XL2.BOS4.ALTER.NET [152.63.22.182] 6 63 ms 63 ms 137 ms 0.so-2-3-0.XL2.ATL1.ALTER.NET [152.63.101.49] 7 63 ms 63 ms 63 ms 0.so-7-0-0.XR2.ATL1.ALTER.NET [152.63.86.102] 8 63 ms 63 ms 63 ms 194.ATM7-0.GW9.ATL1.ALTER.NET [152.63.85.109] 9 63 ms 63 ms 64 ms internap-gw.customer.alter.net [63.122.231.198] 10 64 ms 65 ms 63 ms border2.tge-4-1-bbnet2.acs002.pnap.net [64.94.0. 83] 11 64 ms 63 ms 64 ms giglinx-13.border2.acs002.pnap.net [70.42.180.15 8] 12 * * * Request timed out. 13 * * * Request timed out. 14 * * * Request timed out.
Does anyone know of an FTP client that lets you transfer files directly between one server and another (to avoid downloading/uploading)? Preferably that runs on Linux!
what exactly are the benefits of using such RAMs which cost about double of the normal desktop RAMs? not to mention the extra costs incurred for special motherboards?
My personal experience is that VPS is superior to low end celeron servers, because the overall performance is much better. I'd be curious if others agree, and if not, why not.
I've just ordered my first VPS (unmanaged) and the only thing I'm really concerned about is setting up/using a DNS server.
I think I have 3 options.
1. Set up BIND on my VPS... this doesn't look like much fun and offers no redundancy. I'd prefer not to do this.
2. Outsource the DNS server. I'd like to use a free one if possible [url] looks good... anyone had any experiences?) but suggestions of cheap services are also webcome.
3. Use my registrar's DNS server. I'm using namecheap at the moment. Here's the screen that comes up: [url]
Would that work? And create subdomain.domain.tld?
Finally, I think I'd need to select 'user' at the bottom and enter an MX record. Would this be domain.tld?