After checking the panel on the outside and inside and determining the problem is affecting the whole house I believe the transformer and the lines coming from it need to be checked