Intermittent DNS failures depending on user's DNS setings
I manage a VPS which hosts a forum and recently we migrated from one
physical VPS host to another in the same company, with a downtime of about
48h and all configuration was made with cpanel full account backups.
Since then, our users reported intermittent DNS failures. Most of them
report things like normal behaviour from midnight until noon and DNS
failures from noon to midnight. They are also under corporate networks and
are unable to change their DNS server settings. (And I also believe that
solving this kind of problems by suggesting client-side settings changes
isn't an elegant solution for a large-ish website)
One of the moderators is experiencing this kind of error and sent me the
following dig output:
; <<>> DiG 9.7.0-P1 <<>> clubecetico.org
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 56625
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 4, ADDITIONAL: 4
;; QUESTION SECTION:
;clubecetico.org. IN A
;; ANSWER SECTION:
clubecetico.org. 7246 IN A 193.164.133.22
;; AUTHORITY SECTION:
clubecetico.org. 70536 IN NS ns2.ns-serve.net.
clubecetico.org. 70536 IN NS ns1.ns-serve.net.
clubecetico.org. 70536 IN NS ns2.ns-service.de.
clubecetico.org. 70536 IN NS ns.ns-service.de.
;; ADDITIONAL SECTION:
ns.ns-service.de. 82917 IN A 194.126.239.242
ns1.ns-serve.net. 56831 IN A 193.254.189.162
ns2.ns-serve.net. 56831 IN A 83.243.59.34
ns2.ns-service.de. 82917 IN A 213.203.228.195
;; Query time: 744 msec
;; SERVER: 200.198.34.81#53(200.198.34.81)
;; WHEN: Fri Sep 20 16:20:53 2013
;; MSG SIZE rcvd: 209
Here, using google's 8.8.8.8 and 8.8.4.4 the error never occurs and the
output is
; <<>> DiG 9.9.3-P2 <<>> clubecetico.org
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 8975
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 3
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 1280
;; QUESTION SECTION:
;clubecetico.org. IN A
;; ANSWER SECTION:
clubecetico.org. 11061 IN A 193.164.133.22
;; AUTHORITY SECTION:
clubecetico.org. 34589 IN NS ns1.clubecetico.org.
clubecetico.org. 34589 IN NS ns2.clubecetico.org.
;; ADDITIONAL SECTION:
ns1.clubecetico.org. 19614 IN A 193.164.133.22
ns2.clubecetico.org. 34589 IN A 193.164.133.22
;; Query time: 16 msec
;; SERVER: 192.168.1.1#53(192.168.1.1)
;; WHEN: Sat Sep 28 13:56:36 BRT 2013
;; MSG SIZE rcvd: 128
The only DNS configuration I have access to is that the nameservers I
should use are ns1.clubecetico.org and ns2.clubecetico.org. In thecpanel`
DNS setup, I added an A record with the server's IP.
But I really think that there's something missing because I'm not sure if
the DNS client can query ns1.clubecetico.org to obtain the IP of
clubecetico.org.
I also have no idea where these ns-service.net come from and why some DNS
servers reply with them.
Is there any server-side thing I can do about this issue? Why do these
servers reply so differently?
Thanks in advance
Monday, 30 September 2013
Low wireless range on ubuntu 13.04
Low wireless range on ubuntu 13.04
I put ubuntu 13.04 on my Asus S300ca. The issue is with the wireless. The
range is much smaller than on windows. I have 10+ feet range from the
router on wireless, then on ubuntu I have about 3 feet before it becomes
unstable, 5 feet and it doesn't even see the router. Is there any way to
increase power to the card or increase the range of the card? Thank You.
I put ubuntu 13.04 on my Asus S300ca. The issue is with the wireless. The
range is much smaller than on windows. I have 10+ feet range from the
router on wireless, then on ubuntu I have about 3 feet before it becomes
unstable, 5 feet and it doesn't even see the router. Is there any way to
increase power to the card or increase the range of the card? Thank You.
if an oracle datafile gets too big for the directory what does one do
if an oracle datafile gets too big for the directory what does one do
if I have a datafile in a directory and it is getting too big for the
directory what command in Oracle can I use to move that file, or do I make
another datafile into another directory?
ALTER TABLESPACE
users
ADD DATAFILE
'/ora01/oracle/oradata/booktst_users_02.dbf'
size 100m
if I have a datafile in a directory and it is getting too big for the
directory what command in Oracle can I use to move that file, or do I make
another datafile into another directory?
ALTER TABLESPACE
users
ADD DATAFILE
'/ora01/oracle/oradata/booktst_users_02.dbf'
size 100m
Live streaming with Jquery image slider
Live streaming with Jquery image slider
I am having a situation like how can I run a slideshow as live streaming.
Like if I have two screen at a time and both having same page of image
slider opens in the browser and when I click on the next or previous
button slide will change on both the screen simultaneously. Is there any
way to do that, If then please give me any suggestion how to do that.
I am having a situation like how can I run a slideshow as live streaming.
Like if I have two screen at a time and both having same page of image
slider opens in the browser and when I click on the next or previous
button slide will change on both the screen simultaneously. Is there any
way to do that, If then please give me any suggestion how to do that.
Sunday, 29 September 2013
PHP Pear Mail not working
PHP Pear Mail not working
I have been able to use the PEAR package code on a godaddy server that has
PEAR installed and everything works as intended, however when I try to
execute the code on my local machine I receive no emails and no error
messages that gives me any indication of what is going wrong.
From what I have gathered from numerous sources on the web is that once I
have installed PEAR I need to setup the include_path in the "php.ini"
Also in the php.ini file I have added
[mail function]
; For Win32 only.
; http://php.net/smtp
SMTP = localhost
; http://php.net/smtp-port
smtp_port = 25
; For Win32 only.
; http://php.net/sendmail-from
sendmail_from = myemail@gmail.com ****[Hidding real email address]****
PHP installation as followed:
php installation path c:\php
pear installation path c:\php\pear
php.ini include_path = ".;c:\php\pear"
Pear packages c:\php\pear - gathered from pear list
mail
mail_Mime
Net_SMTP
Net_Socket
PEAR
Any help on this matter will be greatly appreciated.
I have been able to use the PEAR package code on a godaddy server that has
PEAR installed and everything works as intended, however when I try to
execute the code on my local machine I receive no emails and no error
messages that gives me any indication of what is going wrong.
From what I have gathered from numerous sources on the web is that once I
have installed PEAR I need to setup the include_path in the "php.ini"
Also in the php.ini file I have added
[mail function]
; For Win32 only.
; http://php.net/smtp
SMTP = localhost
; http://php.net/smtp-port
smtp_port = 25
; For Win32 only.
; http://php.net/sendmail-from
sendmail_from = myemail@gmail.com ****[Hidding real email address]****
PHP installation as followed:
php installation path c:\php
pear installation path c:\php\pear
php.ini include_path = ".;c:\php\pear"
Pear packages c:\php\pear - gathered from pear list
mail_Mime
Net_SMTP
Net_Socket
PEAR
Any help on this matter will be greatly appreciated.
Binding a VB.net label.text to an object property
Binding a VB.net label.text to an object property
I want to have label in a form who's text value changes depending upon the
value of a instance of a class. It looks like I can bind the text value of
the label to an object dataSource. When I try this it does not seem to
work.
Me.Label4.DataBindings.Add(New System.Windows.Forms.Binding("Text",
Me.ItemInfoBindingSource, "ItemNumber", True,
System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged))
My itemInfoBindingSource:
Me.ItemInfoBindingSource.DataSource = GetType(CFP.ItemInfo)
and the class definition:
Public Class ItemInfo
Public Property ItemNumber As String = "rename"
Public Property Description As String
Public Property FileLocation As String
Public Property CompileHistory As List(Of CompileHistory)
End Class
I think what I have done is bind to a class not an instance of a class.
Thinking about it what I really want to do is bind an instance of a class
to a label...how? Is this possible?
I want to have label in a form who's text value changes depending upon the
value of a instance of a class. It looks like I can bind the text value of
the label to an object dataSource. When I try this it does not seem to
work.
Me.Label4.DataBindings.Add(New System.Windows.Forms.Binding("Text",
Me.ItemInfoBindingSource, "ItemNumber", True,
System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged))
My itemInfoBindingSource:
Me.ItemInfoBindingSource.DataSource = GetType(CFP.ItemInfo)
and the class definition:
Public Class ItemInfo
Public Property ItemNumber As String = "rename"
Public Property Description As String
Public Property FileLocation As String
Public Property CompileHistory As List(Of CompileHistory)
End Class
I think what I have done is bind to a class not an instance of a class.
Thinking about it what I really want to do is bind an instance of a class
to a label...how? Is this possible?
Sockets ClassCastException HashMap
Sockets ClassCastException HashMap
I've created a serverSocket and accept a client connection. However when I
try to read from the client, it is throwing the following exception. If I
change HashMap to ArrayList, it does not work either.
Exception in thread "Thread-3" java.lang.ClassCastException:
java.awt.Point cannot be cast to java.util.HashMap
at ServerSide.Server.getPoints(Server.java:112)
at ServerSide.Server.run(Server.java:69)
//...
public void getPoints() throws IOException, ClassNotFoundException {
points = (HashMap<Point, Boolean>) objectInputStream.readObject();
Iterator iterator = points.entrySet().iterator();
while (iterator.hasNext()) {
Map.Entry<Point, Boolean> currentPoint = (Map.Entry<Point,
Boolean>) iterator.next();
currentPoint.setValue(firgure.isHit(currentPoint.getKey().x,
currentPoint.getKey().y));
}
objectOutputStream.writeObject(points);
}
P.s. Sorry for my English.
I've created a serverSocket and accept a client connection. However when I
try to read from the client, it is throwing the following exception. If I
change HashMap to ArrayList, it does not work either.
Exception in thread "Thread-3" java.lang.ClassCastException:
java.awt.Point cannot be cast to java.util.HashMap
at ServerSide.Server.getPoints(Server.java:112)
at ServerSide.Server.run(Server.java:69)
//...
public void getPoints() throws IOException, ClassNotFoundException {
points = (HashMap<Point, Boolean>) objectInputStream.readObject();
Iterator iterator = points.entrySet().iterator();
while (iterator.hasNext()) {
Map.Entry<Point, Boolean> currentPoint = (Map.Entry<Point,
Boolean>) iterator.next();
currentPoint.setValue(firgure.isHit(currentPoint.getKey().x,
currentPoint.getKey().y));
}
objectOutputStream.writeObject(points);
}
P.s. Sorry for my English.
Subscribe to:
Posts (Atom)