DNS Server on Ubuntu can’t find google.com: REFUSED

Good day,

I have been trying out this webhosting tutorial from udemy. I am still pretty new to it so I have been trying to follow the tutorial and understand it. I followed the tutorial word for word and when it comes to this part when we needed to do a nslookup for the server we set up earlier, the tutorial is able to return results. However, mine showed me **server can’t find google.com: REFUSED.

As this tutorial was a few years back, I tried downloading the earlier version of ubuntu(14.04, previous was 18.xx) and redid everything again. However, the same thing pops up.

I tried disabling my firewall to run the program as I read from somewhere else that it might be due to that, but even that didn’t helped. Please see below for my zone/reverse zone files.

ZONE

; ; BIND data file for local loopback interface ; $  TTL    604800 @       IN      SOA     ns1.example.com. hostmaster.example.com. (                               3         ; Serial                          604800         ; Refresh                           86400         ; Retry                         2419200         ; Expire                          604800 )       ; Negative Cache TTL ;         IN      NS      ns1.example.com. ns1     IN      A       192.168.1.113 www     IN      A       192.168.1.113 

REVERSE ZONE

   ;     ; BIND reverse data file for local loopback interface     ;     $  TTL    604800     @       IN      SOA     ns1.example.com. hostmaster.example.com. (                                  2          ; Serial                              604800         ; Refresh                               86400         ; Retry                             2419200         ; Expire                              604800 )       ; Negative Cache TTL     ;     192.168.1.113   IN      NS      ns1.example.com.     192.168.1.113   IN      PTR     www.example.com 

NAMED.CONF.OPTIONS

options {         directory "/var/cache/bind";         recursion yes;         allow-recursion {trusted;};         listen-on{192.168.1.113;};         allow-transfer{none;};           forwarders {                 8.8.8.8;                 8.8.4.4;           };          dnssec-validation auto;          auth-nxdomain no;         listen-on-v6 { any; }; };  acl "trusted" {         0.0.0.0; }; 

BIND9

GNU nano 2.2.6           File: /etc/default/bind9                               # run resolvconf? RESOLVCONF=no  # startup options for the server OPTIONS="-u bind -4" 

maas-dhcpd is not on because bind9 127.0.0.1#954: connection refused

Do anyone know how to resolve this issue?

Service 'maas-dhcpd' is not on, it will be started. Service 'bind9' failed to start. Its current state is 'dead' and 'Result: exit-code'. Reloading BIND failed (is it running?): Command `rndc -c /etc/bind/maas/rndc.conf.maas reload` returned non-zero exit status 1:#012rndc: connect failed: 127.0.0.1#954: connection refused 

I have 2 subnets, one bridge and one local network with 3 interfaces eth0, eth1, br1 my network interfaces:

source /etc/network/interfaces.d/*  # The loopback network interface auto lo iface lo inet loopback dns-nameservers x.x.1.1 dns-search maas  # The primary network interface auto eth0 iface eth0 inet static address x.x.1.2 netmask 255.255.255.0 gateway x.x.1.1 dns-nameservers x.x.1.1 8.8.8.8 8.8.4.4 mtu 1500  auto eth1 iface eth1 inet manual mtu 1500  auto br1 iface br1 inet static address x.x.30.1 netmask 255.255.255.0    bridge_ports eth1    bridge_stp off    bridge_fd 0    bridge_maxwait 0 

Maas subnet configuration from UI: Managed allocation is disabled for below:

Name x.x.1.0/24 CIDR x.x.1.0/24 Gateway IP x.x.1.2 DNS 172.16.1.1 

Managed allocation is enabled for below:

Name x.x.30.0/24 CIDR x.x.30.0/24 Gateway IP x.x.30.1 DNS x.x.1.1 

Running sudo rndc -c /etc/bind/maas/rndc.conf.maas reload ends up with:

rndc: connect failed: 127.0.0.1#954: connection refused 

I’m not sure what am I missing, this MaaS version is 2.5

Additional note: for while i’m investigating, I noticed that there are duplicated entries in named.conf.maas, if I fix the duplicate manually, it will be autogenerated again and back to the same issue.

/etc/bind/maas/named.conf.maas:92: zone 'x.y.z.in-addr.arpa': already exists previous definition: /etc/bind/maas/named.conf.maas:56 

The above issue is related to https://discourse.maas.io/t/facing-old-bug-lp-1683047-with-maas-2-5-stable-bind9-fails-to-start-duplicated-entry/314

Does getting refused through Esta to the USA and being denied entry affect Working Visa to Canada or an Eta application?

Im an Irish citizen and I was refused on my Esta application and made inadmissible to the US and told I would have to go through the Visa process instead. I don’t really care if I ever go to the US again but I plan on going to Canada/Australia to work in the future and am wondering if this will ever affect anything. I have no convictions whatsoever and have never ever even had single fine. I hope somebody here can give me an good answer or some advice. Thanks

what do i do now? i have been refused a short term student visa

the reason for the refusal is below, what do i have to do different when i reapply: The decision I have refused your application for a visit visa because I am not satisfied that you meet the requirements of paragraph A57A to A57D of Immigration Rules because:  You state in your application that you are visiting the UK as a short term student for a duration of 20 days to study at University College London UCL with their course Summer School (Anatomy and Developmental Biology).  You state that you are currently a student that you have that you have monthly living expenditure of 1,500 GHS (£221.66) and that you personally have £4000 (27,068.3GHS) and have been provided with an additional £6,000 (40,602.50 GHS) from your father that you are relying upon to fund this visit.  You state that you intend to spend £10,000 (67,670.80 GMD), which equates to over 45 months of your living costs in your country of residence on a short period of study in the United Kingdom and I am not satisfied that this degree of expenditure is proportionate to your current economic circumstances and leads me to doubt your stated intentions in seeking to visit the UK.  You have presented financial information but this does not satisfy me. I have been unable to confirm any income that you receive that supports you on a day to day basis while you study and that you have your monthly living expense. In addition, I have been unable to confirm that you now possess the funds you claim of £4000 (27,068.3GHS) and have been provided with an additional £6,000 (40,602.50 GHS) from your father that you are relying upon to fund this visit.  You have provided information from your father in support of this application but this does not satisfy me. Although you have submitted business registration documents in support of your application, these do not demonstrate that the business is actually operating, or that your father is deriving any income from it. The transaction history in the copy of your bank statement you have provided does not reflect the income you have quoted, and indicates large sums of deposits made to your account for which you have provided no explanation. I have noted the business documents and the bank account presented; however these do not demonstrate any money transferring from the business to a personal account. I am mindful that money held in a business represents funds used for the activities and running of the business and these funds do not necessarily reflect an individual’s personal financial circumstances, even if that individual is involved in the running of the company, as the money is required to meet the businesses liabilities and other business expenses. I am not satisfied that you can be provided with funds from the account provided. In view of your lack of information, I am not satisfied that you have provided an accurate representation of the purpose for this visit.  In light of all the above I am not satisfied that you have enough funds to meet the cost of your return or onward journey from the UK, will be maintained and accommodated adequately out of funds available to you, genuinely seeking entry as a short-term student and intend to leave the UK at the end of the study or at the end of 6 months whichever is sooner. Paragraph A57C (vi) (vii) (ix) and A57D (b).

i am a university student and i clearly stated in my application i dont have any source of income also i never stated i had 4000£ to my name for the trip i rather stated my dad was ready to support me with a sum of 10,000£ for my study. i have already paid for tuition and accommodation to the the summer school

Visa refused – V4.2 (a) (c) – Incorrect Decision

I have received the refusal latter today apparently the ECO has refused the visa citing reasons due to economic circumstances. They mentioned that the salary payments were not sourced by the debits to my employers account and gave example for a month; per them the amount deposited into my account on a certain date was not reflected in my employers account debits. When I checked this after getting home, all the check numbers were reflecting in company’s bank statement – every single one!

Second reason they stated regarding payments being irregular in amount but that could have been easily verified through the pay slips that I had submitted; the variance details for extra payments were mentioned such as overtime, leave encashment OPD payment etc.

I strongly believe they have overlooked these details and made a hasty decision probably it being a “priority visa application”

Is there a way I can make them realize they made a mistake and if they could revisit this decision?

“connection timed out” or “connection refused”

I am trying to web host from my own internet and my own computer because I don’t want to pay for a subscription (I already bought the 4$ domain) so I looked up instructions online on how to web host using apache. and I’ve accomplished things to a point where if I type in my computer-specific IP address from devices within my local network I can access the site I’ve made (which is in the sites folder), and I wanted this to be accessible outside my own router; so I set up port forwarding 80 for both in and out channels and pointed it to my computer’s IP address; but for some reason, it says “connection refused” whenever I try to access this site using the default gateway of my router, which I assume is my public IP address. So far I’ve narrowed this “connection refused =” problem down to 3 causes:

There is some kind of firewall blocking the connection (I’ve already allowed port 80’s on normal firewall and ipV6 firewall, and I’ve tried lowering my computer’s firewall, with no luck) (I’ve even tried disabling WAN ping block mode)

There is no program that is listening for incoming connection at port 80 (How would I check if there is? I can fluently navigate through apache files using sudo nano command so please tell me where to look)

I typed sudo netstat -tnlp tcp | grep ‘.80 ‘ to see which programs are listening at which ports, and I got this:

tcp4 0 0 192.168.1.71.80 192.168.1.74.36922 ESTABLISHED tcp6 0 0 ::1.80 ::1.53746 FIN_WAIT_2 tcp6 0 0 ::1.53746 ::1.80 CLOSE_WAIT tcp6 0 0 ::1.80 ::1.53745 FIN_WAIT_2 tcp6 0 0 ::1.53745 ::1.80 CLOSE_WAIT tcp4 0 0 192.168.1.74.49309 17.137.162.1.80 CLOSE_WAIT tcp4 0 0 192.168.1.74.49307 17.137.162.1.80 CLOSE_WAIT tcp4 0 0 192.168.1.71.80 192.168.1.74.36920 TIME_WAIT


I’m not even using the correct IP address to access the site from outside my wifi (also my WAN type is dynamic DSL, if that helps you understand this)

Connection refused then trying to web host

Hello,

I am trying to web host from my own internet and my own computer because I don’t want to pay for a subscription (I already bought the 4$ domain) so I looked up instructions online on how to web host using apache. and I’ve accomplished things to a point where if I type in my computer-specific IP address from devices within my local network I can access the site I’ve made (which is in the sites folder), and I wanted this to be accessible outside my own router; so I set up port…

Connection refused then trying to web host

Clone project: refused to execute script

I just cloned an empty Drupal 8 project locally, initially I entered the web folder and I used

php -S localhost: 8000 

With this virtualization, every time I enter the “edit” rooting rule, a 404 error occurs. To solve the problem I created a vhost configuration:

<VirtualHost *: 80> ServerName www.site.lcl DocumentRoot /home/user/Projects/platform/site/app/web  <Directory "/home/user/Projects/platform/site/app/web">    Allowoverride all    Order allow, deny    Allow from all    Require all granted  </ Directory> </ VirtualHost> 

With this configuration the routes are presented correctly, but a new error occurs, in all the pages the css and js files are not loaded and from console js this error appears:

Refused to execute script from ‘http: //www.site.lcl/’ because its MIME type (‘text / html’) is not executable, and strict MIME type checking is enabled.

I tried to edit the php.ini file like this: default_mimetype = “”, restart apache and clear the cache but with no result.

In both installations the php.ini file used is the same.

How can I solve it?